diff options
Diffstat (limited to 'lang/joos/patches')
-rw-r--r-- | lang/joos/patches/patch-aa | 28 | ||||
-rw-r--r-- | lang/joos/patches/patch-ab | 20 | ||||
-rw-r--r-- | lang/joos/patches/patch-ac | 20 | ||||
-rw-r--r-- | lang/joos/patches/patch-ad | 30 |
4 files changed, 98 insertions, 0 deletions
diff --git a/lang/joos/patches/patch-aa b/lang/joos/patches/patch-aa new file mode 100644 index 00000000000..6ef050bc500 --- /dev/null +++ b/lang/joos/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 2002/05/08 15:42:02 jschauma Exp $ + +--- A+/Makefile.orig Thu Apr 4 15:19:53 2002 ++++ A+/Makefile Wed May 8 11:25:13 2002 +@@ -1,7 +1,6 @@ +-CC = gcc +-BISON = bison + FLEX = flex +-CFLAGS = -Wall -ansi -pedantic ++YACC = yacc ++ + LFLAGS = -lfl + + OFILES = main.o tree.o error.o memory.o weed.o symbol.o type.o defasn.o \ +@@ -16,11 +15,11 @@ + $(CC) lex.yy.o y.tab.o $(OFILES) $(LFLAGS) -o joos + + y.tab.c y.tab.h: joos.y +- $(BISON) -y -d joos.y ++ $(YACC) -d joos.y + + lex.yy.c: joos.l y.tab.h + $(FLEX) joos.l + + + clean: +- @rm $(OFILES) joos lex.yy.o y.tab.o ++ @rm $(OFILES) joos lex.yy.* y.tab.* diff --git a/lang/joos/patches/patch-ab b/lang/joos/patches/patch-ab new file mode 100644 index 00000000000..c87b1c7e0c2 --- /dev/null +++ b/lang/joos/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1 2002/05/08 15:42:02 jschauma Exp $ + +--- A+/main.c.orig Wed May 8 10:32:57 2002 ++++ A+/main.c Wed May 8 10:33:14 2002 +@@ -20,7 +20,7 @@ + + int optionO; + +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { int i; + theprogram = NULL; + optionO = 0; +@@ -50,5 +50,5 @@ + codePROGRAM(theprogram); + if (optionO) optiPROGRAM(theprogram); + emitPROGRAM(theprogram); +- exit(0); ++ return(0); + } diff --git a/lang/joos/patches/patch-ac b/lang/joos/patches/patch-ac new file mode 100644 index 00000000000..6319467c211 --- /dev/null +++ b/lang/joos/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.1 2002/05/08 15:42:02 jschauma Exp $ + +--- D-Java/Makefile.orig Wed May 8 10:33:44 2002 ++++ D-Java/Makefile Wed May 8 10:33:58 2002 +@@ -1,6 +1,3 @@ +-CC = gcc +-CFLAGS = -Wall -O2 +- + objects = d-java.o err_str.o getbytes.o labels.o lltoa.o \ + opcodes.o packages.o reclass.o shattrib.o shclass.o \ + shconst.o shjasmin.o +@@ -8,7 +5,7 @@ + target = D-Java + + $(target) : $(objects) +- gcc -o $(target) $(objects) ++ $(CC) -o $(target) $(objects) + + d-java.o : d-java.h + err_str.o : diff --git a/lang/joos/patches/patch-ad b/lang/joos/patches/patch-ad new file mode 100644 index 00000000000..8d31181184b --- /dev/null +++ b/lang/joos/patches/patch-ad @@ -0,0 +1,30 @@ +$NetBSD: patch-ad,v 1.1 2002/05/08 15:42:03 jschauma Exp $ + +--- A+/joos.y.orig Thu Aug 5 12:42:37 1999 ++++ A+/joos.y Wed May 8 11:24:41 2002 +@@ -347,7 +347,7 @@ + makeSTATEMENTexp($7) + ) + ) +- ) ++ ); + } + ; + +@@ -361,7 +361,7 @@ + makeSTATEMENTexp($7) + ) + ) +- ) ++ ); + } + ; + +@@ -469,6 +469,7 @@ + {$$ = makeEXPnot($2);} + | castexpression + {$$ = $1;} ++; + + castexpression : '(' expression ')' unaryexpressionnotminus + {if ($2->kind!=idK) yyerror("identifier expected"); |