Commits

godane committed b3d3b60

Up: bison to 2.6.4.

  • Participants
  • Parent commits 78ee1b8
  • Branches cooking

Comments (0)

Files changed (2)

File bison/receipt

 # SliTaz package receipt.
 
 PACKAGE="bison"
-VERSION="2.6.2"
+VERSION="2.6.4"
 CATEGORY="development"
 SHORT_DESC="GNU parser generator."
 MAINTAINER="pankso@slitaz.org"
 compile_rules()
 {
 	cd $src
-	patch -Np1 -i $stuff/$PACKAGE-$VERSION-undefined-reference.patch
-	./configure $CONFIGURE_ARGS &&
-	echo '#define YYENABLE_NLS 1' >> config.h &&
+	./configure \
+		--prefix=/usr \
+		--datadir=/usr/share \
+		$CONFIGURE_ARGS &&
 	make && make install
 }
 

File bison/stuff/bison-2.5-undefined-reference.patch

-diff -Naur bison-2.5-orig/lib/yyerror.c bison-2.5/lib/yyerror.c
---- bison-2.5-orig/lib/yyerror.c	2011-01-04 00:50:42.000000000 +1000
-+++ bison-2.5/lib/yyerror.c	2011-11-09 22:01:48.725507079 +1000
-@@ -18,6 +18,7 @@
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
-
- #include <stdio.h>
-+#undef fprintf
-
- int yyerror (char const *);