aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cocktail/files/patch-reuse-c-General.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cocktail/files/patch-reuse-c-General.c')
-rw-r--r--devel/cocktail/files/patch-reuse-c-General.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/cocktail/files/patch-reuse-c-General.c b/devel/cocktail/files/patch-reuse-c-General.c
new file mode 100644
index 000000000000..9e55b5a7dd96
--- /dev/null
+++ b/devel/cocktail/files/patch-reuse-c-General.c
@@ -0,0 +1,21 @@
+--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/c/General.c Tue Feb 15 14:26:35 1994
++++ ./reuse/c/General.c Fri Sep 10 13:35:02 2004
+@@ -26,7 +26,8 @@
+
+ /* Ich, Doktor Josef Grosch, Informatiker, Sept. 1987 */
+
+-static char rcsid [] = "$Id: General.c,v 1.6 1993/08/18 15:01:05 grosch rel $";
++# include <sys/cdefs.h>
++__RCSID("$Id: General.c,v 1.6 1993/08/18 15:01:05 grosch rel $");
+
+ # include "ratc.h"
+ # include "General.h"
+@@ -66,7 +67,7 @@
+ }
+
+ static struct { char yychar; double yydouble; } yyForAlign;
+-short yyMaxAlign = sizeof (yyForAlign) - sizeof (double);
++unsigned long yyMaxAlign = sizeof (yyForAlign) - sizeof (double);
+ long yyAlignMasks [] = { 0,
+ 0xffffffff, 0xfffffffe, 0xffffffff, 0xfffffffc,
+ 0xffffffff, 0xffffffff, 0xffffffff, 0xfffffff8,