Browse Source

From: Juergen Sawinski <george@mpimf-heidelberg.mpg.de>

rene/coda:
-use correct name for post-install
-remove yacc fix (see bison: gxx-attr-unused-fix.patch)
base/bison:
-GNU C++ compiler doesn't (and can't) understand attribute((unused)) for
labels, so disable it (fixes eg. a problem with coda)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1208 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
eb77601a28
3 changed files with 19 additions and 2 deletions
  1. +4
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +14
    -0
      package/base/bison/gxx-attr-unused-fix.patch
  3. +1
    -2
      package/rene/coda/coda.conf

+ 4
- 0
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

+ 14
- 0
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;])[

+ 1
- 2
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

Loading…
Cancel
Save