summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-01-30 13:22:24 +0000
committerSimon Stelling <blubb@gentoo.org>2006-01-30 13:22:24 +0000
commit12e21513fd6eb010ae0a5ff486c69141b8c5920f (patch)
treea1c1db086920b4e13731e8904ad2e8918b24489f
parentnew upstream release (diff)
downloadhistorical-12e21513fd6eb010ae0a5ff486c69141b8c5920f.tar.gz
historical-12e21513fd6eb010ae0a5ff486c69141b8c5920f.tar.bz2
historical-12e21513fd6eb010ae0a5ff486c69141b8c5920f.zip
no need to gzip smallish patches
Package-Manager: portage-2.1_pre3-r1
-rw-r--r--dev-util/re2c/ChangeLog6
-rw-r--r--dev-util/re2c/Manifest6
-rw-r--r--dev-util/re2c/files/0.9.1-patch217
-rw-r--r--dev-util/re2c/files/0.9.1-patch.gzbin1466 -> 0 bytes
-rw-r--r--dev-util/re2c/re2c-0.9.1.ebuild6
5 files changed, 228 insertions, 7 deletions
diff --git a/dev-util/re2c/ChangeLog b/dev-util/re2c/ChangeLog
index 3045a4a9906b..81b074c8f461 100644
--- a/dev-util/re2c/ChangeLog
+++ b/dev-util/re2c/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/re2c
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/ChangeLog,v 1.21 2006/01/21 23:13:53 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/ChangeLog,v 1.22 2006/01/30 13:22:24 blubb Exp $
+
+ 30 Jan 2006; Simon Stelling <blubb@gentoo.org> +files/0.9.1-patch,
+ -files/0.9.1-patch.gz, re2c-0.9.1.ebuild:
+ no need to gzip smallish patches
21 Jan 2006; Jason Wever <weeve@gentoo.org> re2c-0.9.9.ebuild:
Stable on SPARC wrt bug #119439.
diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest
index 2c22a6190a7b..be4f4e0bad0b 100644
--- a/dev-util/re2c/Manifest
+++ b/dev-util/re2c/Manifest
@@ -1,5 +1,5 @@
-MD5 9e3ec75395c465c9a82be3b8018da95c ChangeLog 3220
-MD5 9ab079edcf8f22efe343fb3b1c4722b4 files/0.9.1-patch.gz 1466
+MD5 0e99e4db915abfe303d9e1f87dc3c8fe ChangeLog 3369
+MD5 2e556da2488ad204f41258001e424879 files/0.9.1-patch 5232
MD5 63995d480a554e62b5d950e649397cea files/digest-re2c-0.9.1 62
MD5 58a87775d74672b92299560648d415c8 files/digest-re2c-0.9.10 63
MD5 06f663969c2f360bf8e17affd2a550aa files/digest-re2c-0.9.11 63
@@ -9,7 +9,7 @@ MD5 3687da5d2f47594ae13ae7ead7001a81 files/digest-re2c-0.9.7 62
MD5 3f9988e6dbc52035843a1651d34714be files/digest-re2c-0.9.8 62
MD5 f510a8e3af0a41f30f0ed1c5e7764a5e files/digest-re2c-0.9.9 62
MD5 342915f70ca37ac7f9b27c0dd26350c1 metadata.xml 283
-MD5 d79a5160c7498b6fb45dd46b4ce5b1a1 re2c-0.9.1.ebuild 774
+MD5 85d4cb88282d19484a72806ccf40eb9b re2c-0.9.1.ebuild 770
MD5 3baca67ce03b008b64620312fb42c4de re2c-0.9.10.ebuild 900
MD5 4ec3396ad25d1ccb8b9823cb38e79f50 re2c-0.9.11.ebuild 968
MD5 cf14be524de36311cfcbb77c86e2b8ec re2c-0.9.11_rc1.ebuild 972
diff --git a/dev-util/re2c/files/0.9.1-patch b/dev-util/re2c/files/0.9.1-patch
new file mode 100644
index 000000000000..045f20f1f2cc
--- /dev/null
+++ b/dev-util/re2c/files/0.9.1-patch
@@ -0,0 +1,217 @@
+diff -rNd -U 7 re2c-0.9.1-orig/Makefile re2c-0.9.1/Makefile
+--- re2c-0.9.1-orig/Makefile 2003-06-03 10:54:04.000000000 -0700
++++ re2c-0.9.1/Makefile 2003-06-03 10:56:13.000000000 -0700
+@@ -1,19 +1,19 @@
+ # $Log: not supported by cvs2svn $
+ #Revision 1.1 1994/04/08 16:30:37 peter
+ #Initial revision
+ #
+
+-BIN = /usr/local/bin
+-MAN = /usr/local/man
++BIN = /usr/bin
++MAN = /usr/share/man
+
+-%.o : %.cc ; $(CC) -o $@ $(CFLAGS) -c $<
++%.o : %.cc ; $(CXX) -o $@ $(CXXFLAGS) -c $<
++%.o : %.c ; $(CC) -o $@ $(CFLAGS) -c $<
+ %.cc : %.y ; $(YACC) $(YFLAGS) $<; mv $(YTAB).c $@
+ %.cc : %.l ; $(LEX) $(LFLAGS) $<; mv $(LEXYY).c $@
+-
+ %.cc: %.re
+ re2c -s $< >$@
+
+ SOURCES = code.cc dfa.cc main.cc parser.y actions.cc scanner.re substr.cc\
+ translate.cc
+ OBJS = code.o dfa.o main.o parser.o actions.o scanner.o substr.o\
+ translate.o
+diff -rNd -U 7 re2c-0.9.1-orig/scanner.cc re2c-0.9.1/scanner.cc
+--- re2c-0.9.1-orig/scanner.cc 2003-06-03 10:54:04.000000000 -0700
++++ re2c-0.9.1/scanner.cc 2003-06-03 10:54:21.000000000 -0700
+@@ -8,42 +8,42 @@
+ #include "parser.h"
+ #include "y.tab.h"
+
+ extern YYSTYPE yylval;
+
+ #define BSIZE 8192
+
+-#define YYCTYPE uchar
++#define YYCTYPE char
+ #define YYCURSOR cursor
+ #define YYLIMIT lim
+ #define YYMARKER ptr
+ #define YYFILL(n) {cursor = fill(cursor);}
+
+ #define RETURN(i) {cur = cursor; return i;}
+
+
+ Scanner::Scanner(int i) : in(i),
+ bot(NULL), tok(NULL), ptr(NULL), cur(NULL), pos(NULL), lim(NULL),
+ top(NULL), eof(NULL), tchar(0), tline(0), cline(1) {
+ ;
+ }
+
+-uchar *Scanner::fill(uchar *cursor){
++char *Scanner::fill(char *cursor){
+ if(!eof){
+ uint cnt = tok - bot;
+ if(cnt){
+ memcpy(bot, tok, lim - tok);
+ tok = bot;
+ ptr -= cnt;
+ cursor -= cnt;
+ pos -= cnt;
+ lim -= cnt;
+ }
+ if((top - lim) < BSIZE){
+- uchar *buf = new uchar[(lim - bot) + BSIZE];
++ char *buf = new char[(lim - bot) + BSIZE];
+ memcpy(buf, tok, lim - tok);
+ tok = buf;
+ ptr = &buf[ptr - bot];
+ cursor = &buf[cursor - bot];
+ pos = &buf[pos - bot];
+ lim = &buf[lim - bot];
+ top = &lim[BSIZE];
+@@ -58,15 +58,15 @@
+ return cursor;
+ }
+
+ #line 68
+
+
+ int Scanner::echo(ostream &out){
+- uchar *cursor = cur;
++ char *cursor = cur;
+ tok = cursor;
+ echo:
+ {
+ YYCTYPE yych;
+ unsigned int yyaccept;
+ goto yy0;
+ yy1: ++YYCURSOR;
+@@ -113,15 +113,15 @@
+ }
+ #line 83
+
+ }
+
+
+ int Scanner::scan(){
+- uchar *cursor = cur;
++ char *cursor = cur;
+ uint depth;
+
+ scan:
+ tchar = cursor - pos;
+ tline = cline;
+ tok = cursor;
+ {
+diff -rNd -U 7 re2c-0.9.1-orig/scanner.h re2c-0.9.1/scanner.h
+--- re2c-0.9.1-orig/scanner.h 2003-06-03 10:54:04.000000000 -0700
++++ re2c-0.9.1/scanner.h 2003-06-03 10:54:22.000000000 -0700
+@@ -2,18 +2,18 @@
+ #define _scanner_h
+
+ #include "token.h"
+
+ class Scanner {
+ private:
+ int in;
+- uchar *bot, *tok, *ptr, *cur, *pos, *lim, *top, *eof;
++ char *bot, *tok, *ptr, *cur, *pos, *lim, *top, *eof;
+ uint tchar, tline, cline;
+ private:
+- uchar *fill(uchar*);
++ char *fill(char*);
+ public:
+ Scanner(int);
+ int echo(ostream&);
+ int scan();
+ void fatal(char*);
+ SubStr token();
+ uint line();
+diff -rNd -U 7 re2c-0.9.1-orig/scanner.re re2c-0.9.1/scanner.re
+--- re2c-0.9.1-orig/scanner.re 2003-06-03 10:54:04.000000000 -0700
++++ re2c-0.9.1/scanner.re 2003-06-03 10:54:23.000000000 -0700
+@@ -6,42 +6,42 @@
+ #include "parser.h"
+ #include "y.tab.h"
+
+ extern YYSTYPE yylval;
+
+ #define BSIZE 8192
+
+-#define YYCTYPE uchar
++#define YYCTYPE char
+ #define YYCURSOR cursor
+ #define YYLIMIT lim
+ #define YYMARKER ptr
+ #define YYFILL(n) {cursor = fill(cursor);}
+
+ #define RETURN(i) {cur = cursor; return i;}
+
+
+ Scanner::Scanner(int i) : in(i),
+ bot(NULL), tok(NULL), ptr(NULL), cur(NULL), pos(NULL), lim(NULL),
+ top(NULL), eof(NULL), tchar(0), tline(0), cline(1) {
+ ;
+ }
+
+-uchar *Scanner::fill(uchar *cursor){
++char *Scanner::fill(char *cursor){
+ if(!eof){
+ uint cnt = tok - bot;
+ if(cnt){
+ memcpy(bot, tok, lim - tok);
+ tok = bot;
+ ptr -= cnt;
+ cursor -= cnt;
+ pos -= cnt;
+ lim -= cnt;
+ }
+ if((top - lim) < BSIZE){
+- uchar *buf = new uchar[(lim - bot) + BSIZE];
++ char *buf = new char[(lim - bot) + BSIZE];
+ memcpy(buf, tok, lim - tok);
+ tok = buf;
+ ptr = &buf[ptr - bot];
+ cursor = &buf[cursor - bot];
+ pos = &buf[pos - bot];
+ lim = &buf[lim - bot];
+ top = &lim[BSIZE];
+@@ -64,15 +64,15 @@
+ dstring = "\"" ((esc \ ["] ) | "\\" dot)* "\"";
+ sstring = "'" ((esc \ ['] ) | "\\" dot)* "'" ;
+ letter = [a-zA-Z];
+ digit = [0-9];
+ */
+
+ int Scanner::echo(ostream &out){
+- uchar *cursor = cur;
++ char *cursor = cur;
+ tok = cursor;
+ echo:
+ /*!re2c
+ "/*!re2c" { out.write(tok, &cursor[-7] - tok);
+ tok = cursor;
+ RETURN(1); }
+ "\n" { if(cursor == eof) RETURN(0);
+@@ -81,15 +81,15 @@
+ goto echo; }
+ any { goto echo; }
+ */
+ }
+
+
+ int Scanner::scan(){
+- uchar *cursor = cur;
++ char *cursor = cur;
+ uint depth;
+
+ scan:
+ tchar = cursor - pos;
+ tline = cline;
+ tok = cursor;
+ /*!re2c
diff --git a/dev-util/re2c/files/0.9.1-patch.gz b/dev-util/re2c/files/0.9.1-patch.gz
deleted file mode 100644
index a6a8f076caee..000000000000
--- a/dev-util/re2c/files/0.9.1-patch.gz
+++ /dev/null
Binary files differ
diff --git a/dev-util/re2c/re2c-0.9.1.ebuild b/dev-util/re2c/re2c-0.9.1.ebuild
index cdadfb1aed2a..4053eafd9349 100644
--- a/dev-util/re2c/re2c-0.9.1.ebuild
+++ b/dev-util/re2c/re2c-0.9.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/re2c-0.9.1.ebuild,v 1.6 2004/09/23 23:59:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/re2c-0.9.1.ebuild,v 1.7 2006/01/30 13:22:24 blubb Exp $
inherit eutils
@@ -20,7 +20,7 @@ src_unpack() {
unpack ${A} || die
# Fix permissions
chmod -R u+rw ${S}
- epatch ${FILESDIR}/${PV}-patch.gz
+ epatch ${FILESDIR}/${PV}-patch
}
src_compile() {