diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 458e8ea2e..6567b14bd 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -1,4 +1,8 @@ +*) 2003-08-27 (2.0.0-rc1 - 2.0.0-rc2) + + - Juergen Sawinski: bison and coda (yacc C++ fix) + *) 2003-08-26 (2.0.0-rc1 - 2.0.0-rc2) - updated linux24 - and fixed the i2c-patch (incl. i2c-west for PowerPC) and diff --git a/package/base/bison/gxx-attr-unused-fix.patch b/package/base/bison/gxx-attr-unused-fix.patch new file mode 100644 index 000000000..9014d0060 --- /dev/null +++ b/package/base/bison/gxx-attr-unused-fix.patch @@ -0,0 +1,14 @@ +diff -urN bison-1.875-old/data/yacc.c bison-1.875-new/data/yacc.c +--- bison-1.875-old/data/yacc.c 2002-12-28 09:36:02.000000000 +0100 ++++ bison-1.875-new/data/yacc.c 2003-07-16 15:26:30.000000000 +0200 +@@ -1114,8 +1114,10 @@ + /* Suppress GCC warning that yyerrlab1 is unused when no action + invokes YYERROR. */ + #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) ++#if ! defined(__cplusplus) + __attribute__ ((__unused__)) + #endif ++#endif + + ]b4_location_if([ yylerrsp = yylsp; + *++yylerrsp = yyloc;])[ diff --git a/package/rene/coda/coda.conf b/package/rene/coda/coda.conf index 5d59186b7..a830feac5 100644 --- a/package/rene/coda/coda.conf +++ b/package/rene/coda/coda.conf @@ -32,7 +32,6 @@ code_pc(){ if [[ $xsrctar = *coda* ]] ; then yacc -d coda-src/asr/resolver_parser.y \ -o coda-src/asr/resolver_parser.c - patch -p1 < $confdir/yacc-fix.patch.manual var_append makeinstopt "client-install server-install" fi } @@ -44,5 +43,5 @@ coda_pi(){ } hook_add preconf 3 code_pc -hook_add postinstall 3 coda_pm +hook_add postinstall 3 coda_pi