pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/re2c Updated to version 0.11.3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8d2f4bb2274
branches: trunk
changeset: 527808:b8d2f4bb2274
user: heinz <heinz%pkgsrc.org@localhost>
date: Fri Apr 13 22:14:46 2007 +0000
description:
Updated to version 0.11.3.
Pkgsrc changes:
- Marked the package as supporting DESTDIR.
- The missing ctype declaration (patch-ac) and problems with the
"uint" type (patch-aa and patch-ab) seem to be fixed, so we do not
need them anymore.
- The test script declares /bin/bash as its interpreter but ${SH}
(/bin/sh) on NetBSD worked for me. What about other platforms?
Changes since version 0.9.3:
============================
Version 0.11.3 (2007-04-01)
---------------------------
- Added support for underscores in named definitions.
- Added new option --no-generation-date.
- Fixed issue with long form of switches.
Version 0.11.2 (2007-03-01)
---------------------------
- Added inplace configuration 're2c:yyfill:parameter'.
- Added inplace configuration 're2c:yych:conversion'.
- Fixed -u switch code generation.
- Added ability to avoid defines and overwrite variable and label names.
Version 0.11.1 (2007-02-20)
---------------------------
- Applied #1647875 add const to yybm vector.
Version 0.11.0 (2007-01-01)
---------------------------
- Added -u switch to support unicode.
Version 0.10.8 (2007-04-01)
---------------------------
- Fixed issue with long form of switches.
Version 0.10.7 (2007-02-20)
---------------------------
- Applied #1647875 add const to yybm vector.
Version 0.10.6 (2006-08-05)
---------------------------
- Fixed #1529351 Segv bug on unterminated code blocks.
- Fixed #1528269 Invalid code generation.
Version 0.10.5 (2006-06-11)
---------------------------
- Fixed long form of -1 switch to --single-pass as noted in man page and help.
- Added MSVC 2003 project files and renamed old 2002 ones.
Version 0.10.4 (2006-06-01)
---------------------------
- Fix whitespace in generated code.
Version 0.10.3 (2006-05-14)
---------------------------
- Fixed issue with -wb and -ws.
- Added -g switch to support gcc's computed goto's.
- Changed to use nested if's instead of "switch(yyaccept)" in -s mode.
Version 0.10.2 (2006-05-01)
---------------------------
- Changed to generate YYMARKER only when needed or in single pass mode.
- Added -1 switch to force single pass generation and make two pass the default.
- Fixed -i switch.
- Added configuration 'yyfill:enable' to allow suppression of YYFILL() blocks.
- Added tutorial like lessons to re2c.
- Added /*!ignore:re2c */ to support documenting of re2c source.
- Fixed issue with multiline re2c comments (/*!max:re2c ... */ and alike).
- Fixed generation of YYDEBUG() when using -d switch.
- Added /*!getstate:re2c */ which triggers generation of the YYGETSTATE() block.
- Added configuration 'state:abort'.
- Changed to not generate yyNext unless configuration 'state:nextlabel' is used.
- Changed to not generate yyaccept code unless needed.
- Changed to use if- instead of switch-expression when yyaccpt has only one case.
- Added docu, examples and tests to .src.zip package (0.10.1 zip was repackaged).
- Fixed #1479044 incorrect code generated when using -b.
- Fixed #1472770 re2c creates an infinite loop.
- Fixed #1454253 Piece of code saving a backtracking point not generated.
- Fixed #1463639 Missing forward declaration.
- Implemented #1187127 savable state support for multiple re2c blocks.
Version 0.10.1 (2006-02-28)
---------------------------
- Added support for Solaris and native SUN compiler.
- Applied #1438160 expose YYCTXMARKER.
Version 0.10.0 (2006-02-18)
---------------------------
- Added make target zip to create windows source packages as zip files.
- Added re2c:startlabel configuration.
- Fixed code generation to not generate unreachable code for initial state.
- Added support for c/c++ compatible \u and \U unicode notation.
- Added ability to control indendation.
- Made scanner error out in case an ambiguous /* is found.
- Fixed indendation of generated code.
- Added support for DOS line endings.
- Added experimental unicode support.
- Added config_w32.h to build out of the box on windows (using msvc 2002+).
- Added Microsoft Visual C .NET 2005 build files.
- Applied #1411087 variable length trailing context.
- Applied #1408326 do not generate goto next state.
- Applied #1408282 CharSet initialization fix.
- Applied #1408278 readsome with MSVC.
- Applied #1307467 Unicode patch for 0.9.7.
Version 0.9.12 (2005-12-28)
---------------------------
- Fixed bug #1390174 re2c cannot accept {0,}.
Version 0.9.11 (2005-12-18)
---------------------------
- Fixed #1313083 -e (EBCDIC cross compile) broken.
- Fixed #1297658 underestimation of n in YYFILL(n).
- Applied #1339483 Avoid rebuilds of re2c when running subtargets.
- Implemented #1335305 symbol table reimplementation, just slightly modifed.
Version 0.9.10 (2005-09-04)
---------------------------
- Added -i switch to avoid generating #line information.
- Fixed bug #1251653 re2c generate some invalid #line on WIN32.
Version 0.9.9 (2005-07-21)
--------------------------
- Implemented #1232777 negated char classes '[^...]' and the dot operator '.'.
- Added hexadecimal character definitions.
- Added consistency check for octal character definitions.
Version 0.9.8 (2005-06-26)
--------------------------
- Fixed code generation for -b switch.
- Added Microsoft Visual C .NET build files.
Version 0.9.7 (2005-04-30)
--------------------------
- Applied #1181535 storable state patch.
- Added -d flag which outputs a debugable parser.
- Fixed generation of '#line' directives (according to ISO-C99).
- Fixed bug #1187785 Re2c fails to generate valid code.
- Fixed bug #1187452 unused variable `yyaccept'.
Version 0.9.6 (2005-04-14)
--------------------------
- Fixed build with gcc >= 3.4.
Version 0.9.5 (2005-04-08)
--------------------------
- Added /*!max:re2c */ which emits a '#define YYMAXFILL <max>\n' line
This allows to define buffers of the minimum required length. Occurence
must follow '/*re2c */ and cannot preceed it.
- Changed re2c to two pass generation to output warning free code.
- Fixed bug #1163046 re2c hangs when processing valid re-file.
- Fixed bug #1022799 re2c scanner has buffering bug.
Version 0.9.4 (2005-03-12)
--------------------------
- Added --vernum support.
- Fixed bug #1054496 incorrect code generated with -b option.
- Fixed bug #1012748 re2c does not emit last line if '\n' missing.
- Fixed bug #999104 --output=output option does not work as documented.
- Fixed bug #999103 Invalid options prefixed with two dashes cause program crash.
diffstat:
devel/re2c/Makefile | 9 ++++++---
devel/re2c/distinfo | 11 ++++-------
devel/re2c/patches/patch-aa | 32 --------------------------------
devel/re2c/patches/patch-ab | 11 -----------
devel/re2c/patches/patch-ac | 12 ------------
5 files changed, 10 insertions(+), 65 deletions(-)
diffs (109 lines):
diff -r 73c78ac27070 -r b8d2f4bb2274 devel/re2c/Makefile
--- a/devel/re2c/Makefile Fri Apr 13 21:25:48 2007 +0000
+++ b/devel/re2c/Makefile Fri Apr 13 22:14:46 2007 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2006/03/04 21:29:29 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2007/04/13 22:14:46 heinz Exp $
-DISTNAME= re2c-0.9.3
-PKGREVISION= 1
+DISTNAME= re2c-0.11.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=re2c/}
@@ -9,8 +8,12 @@
HOMEPAGE= http://re2c.org/
COMMENT= Deterministic Finite State Automaton generator
+PKG_DESTDIR_SUPPORT=user-destdir
+
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
+REPLACE_SH+= run_tests.sh.in
+
.include "../../mk/bsd.pkg.mk"
diff -r 73c78ac27070 -r b8d2f4bb2274 devel/re2c/distinfo
--- a/devel/re2c/distinfo Fri Apr 13 21:25:48 2007 +0000
+++ b/devel/re2c/distinfo Fri Apr 13 22:14:46 2007 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 22:24:32 agc Exp $
+$NetBSD: distinfo,v 1.6 2007/04/13 22:14:46 heinz Exp $
-SHA1 (re2c-0.9.3.tar.gz) = f7afa459474abadea146031f2d9dbadbfc5a568f
-RMD160 (re2c-0.9.3.tar.gz) = f24657d3248cfa36e7d835f617ca529526efdaae
-Size (re2c-0.9.3.tar.gz) = 173075 bytes
-SHA1 (patch-aa) = e02c2e2bcbd277b7df81b8e453366453830798ff
-SHA1 (patch-ab) = d41159b20c75b97c39dcf5d6fc5c547a0639860c
-SHA1 (patch-ac) = c92be8d3b6caa1a86056b030609b353856d89e4d
+SHA1 (re2c-0.11.3.tar.gz) = 38a50efcd68bda3fc7bfd507e0fc5b3d16f54897
+RMD160 (re2c-0.11.3.tar.gz) = 82a44b5f21df7a30e81c5c696fadbbdde056f637
+Size (re2c-0.11.3.tar.gz) = 592517 bytes
diff -r 73c78ac27070 -r b8d2f4bb2274 devel/re2c/patches/patch-aa
--- a/devel/re2c/patches/patch-aa Fri Apr 13 21:25:48 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/11/06 18:08:48 kristerw Exp $
-
---- substr.h.orig Sat Nov 6 18:54:16 2004
-+++ substr.h Sat Nov 6 18:55:42 2004
-@@ -8,11 +8,11 @@
- class SubStr {
- public:
- char *str;
-- uint len;
-+ unsigned int len;
- public:
- friend bool operator==(const SubStr &, const SubStr &);
-- SubStr(uchar*, uint);
-- SubStr(char*, uint);
-+ SubStr(uchar*, unsigned int);
-+ SubStr(char*, unsigned int);
- SubStr(const SubStr&);
- void out(std::ostream&) const;
- };
-@@ -34,10 +34,10 @@
- return o << *s;
- }
-
--inline SubStr::SubStr(uchar *s, uint l)
-+inline SubStr::SubStr(uchar *s, unsigned int l)
- : str((char*) s), len(l) { }
-
--inline SubStr::SubStr(char *s, uint l)
-+inline SubStr::SubStr(char *s, unsigned int l)
- : str(s), len(l) { }
-
- inline SubStr::SubStr(const SubStr &s)
diff -r 73c78ac27070 -r b8d2f4bb2274 devel/re2c/patches/patch-ab
--- a/devel/re2c/patches/patch-ab Fri Apr 13 21:25:48 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/11/06 18:08:48 kristerw Exp $
-
---- substr.cc.orig Sat Nov 6 18:55:56 2004
-+++ substr.cc Sat Nov 6 18:56:08 2004
-@@ -33,5 +33,5 @@
- Str::~Str() {
- delete str;
- str = (char*)-1;
-- len = (uint)-1;
-+ len = (unsigned int)-1;
- }
diff -r 73c78ac27070 -r b8d2f4bb2274 devel/re2c/patches/patch-ac
--- a/devel/re2c/patches/patch-ac Fri Apr 13 21:25:48 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2004/11/06 18:08:48 kristerw Exp $
-
---- actions.cc.orig Sat Nov 6 18:52:41 2004
-+++ actions.cc Sat Nov 6 18:53:24 2004
-@@ -3,6 +3,7 @@
- #include <string.h>
- #include <iostream>
- #include <iomanip>
-+#include <ctype.h>
-
- #include "globals.h"
- #include "parser.h"
Home |
Main Index |
Thread Index |
Old Index