Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Blame | Last modification | View Log | RSS feed

#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_language.yacc_bison_fix.dpatch by  <magnus@proffe.kibibyte.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Disable fix for Bison apparently using too small ints

@DPATCH@

diff -U3 -Narp pike7.6-7.6.27/src/language.c pike7.6-7.6.27.new/src/language.c
--- pike7.6-7.6.27/src/language.c       2005-06-18 02:46:36.000000000 +0200
+++ pike7.6-7.6.27.new/src/language.c   2005-06-18 02:53:45.009538576 +0200
@@ -326,7 +326,7 @@ typedef union YYSTYPE {
 #include <stdio.h>
 int yylex(YYSTYPE *yylval);
 /* Bison is stupid, and tries to optimize for space... */
-#ifdef YYBISON
+#if defined(YYBISON) && !defined(DEBIAN)
 #define short int
 #endif /* YYBISON */