diff options
author | jschauma <jschauma@pkgsrc.org> | 2002-12-27 01:27:15 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2002-12-27 01:27:15 +0000 |
commit | 0ca251ca6841b3d8daeb4df80b26961e28516e60 (patch) | |
tree | 8516116366a1cf4e3657757e808b24949b90e72c /lang/baci | |
parent | eb710fdcea3a9d1edbf105ef465b4fd35270339f (diff) | |
download | pkgsrc-0ca251ca6841b3d8daeb4df80b26961e28516e60.tar.gz |
Add patches to make newer bison's happy and fix problem encountered
in Huberts latest bulk build.
Diffstat (limited to 'lang/baci')
-rw-r--r-- | lang/baci/distinfo | 4 | ||||
-rw-r--r-- | lang/baci/patches/patch-af | 20 | ||||
-rw-r--r-- | lang/baci/patches/patch-ag | 20 |
3 files changed, 43 insertions, 1 deletions
diff --git a/lang/baci/distinfo b/lang/baci/distinfo index 5309e143ca3..3b3560854d8 100644 --- a/lang/baci/distinfo +++ b/lang/baci/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/05/09 13:09:24 agc Exp $ +$NetBSD: distinfo,v 1.3 2002/12/27 01:27:15 jschauma Exp $ SHA1 (bacisrc.tar.gz) = 3b655bcbd2823047f3f92e6f2d3d12bc7eaa772d Size (bacisrc.tar.gz) = 186723 bytes @@ -9,3 +9,5 @@ SHA1 (patch-ab) = 39aa0ad952cd6f77134c1d8d84d5c6c65bf2029e SHA1 (patch-ac) = b759d67e950596ad4e2e644214dd083d1c09c126 SHA1 (patch-ad) = 646090115096f4c44c6ed8fc599e804b8c388ba9 SHA1 (patch-ae) = 91de4ffe6b0c72cc9f01a89e219f2bba49ab74d2 +SHA1 (patch-af) = 9ce21eafc12d7a8cc337828d3a9ea9143d9e3e05 +SHA1 (patch-ag) = d80cfae441d1708e6cac34bfc80848325ea8702f diff --git a/lang/baci/patches/patch-af b/lang/baci/patches/patch-af new file mode 100644 index 00000000000..66ba47d1e6a --- /dev/null +++ b/lang/baci/patches/patch-af @@ -0,0 +1,20 @@ +$NetBSD: patch-af,v 1.1 2002/12/27 01:27:15 jschauma Exp $ + +--- ccomp/bac.y.orig Thu Dec 26 20:15:57 2002 ++++ ccomp/bac.y Thu Dec 26 20:18:43 2002 +@@ -1013,6 +1013,7 @@ + + the_else : ELSE + { emit(JUMP); $$ = lc; } ++ ; + + switch_hdr : SWITCH '(' expr ')' + { +@@ -1272,6 +1273,7 @@ + } + } + } ++ ; + + return_stmt : the_return opt_expr ';' + { diff --git a/lang/baci/patches/patch-ag b/lang/baci/patches/patch-ag new file mode 100644 index 00000000000..9494afe5f0d --- /dev/null +++ b/lang/baci/patches/patch-ag @@ -0,0 +1,20 @@ +$NetBSD: patch-ag,v 1.1 2002/12/27 01:27:15 jschauma Exp $ + +--- pascomp/bapascal.y.orig Thu Dec 26 20:21:20 2002 ++++ pascomp/bapascal.y Thu Dec 26 20:22:09 2002 +@@ -866,7 +866,6 @@ + { gen_exprval($4); emit1(JZER,$1); free_expr($4); } + | for_header statement + { emit1(ENDFOR,1+$1); code[$1].y = lc; } +- ; + | cbegin statements CEND + { if (level == 1) emit(COEND); in_cobegin = 0; } + ; +@@ -885,6 +884,7 @@ + + the_while : WHILE + { $$ = lc; } ++ ; + + while_expr : expr + { gen_exprval($1); free_expr($1); $$ = lc; emit(JZER);} |