freebsd-ports/devel/cocktail/files/patch-puma-m2c-C.c
Edwin Groothuis 8937ed4066 [PORT UPGRADE] devel/cocktail corrected for 64bits compilation
The orignal port only ran on i386, since there were some
	64bit conversion problems. The included tar file replaces
	the compete devel/cocktail tree currently in the ports tree.

(lots of patches!)

PR:		ports/71940
Submitted by:	Willem Jan Withagen <wjw@withagen.nl>
2004-12-15 04:05:34 +00:00

20 lines
956 B
C

--- /usr/ports/devel/cocktail/work/cocktail-9309//./puma/m2c/C.c Tue Feb 15 14:26:00 1994
+++ ./puma/m2c/C.c Thu Aug 5 18:49:27 2004
@@ -1558,7 +1558,7 @@
IO_WriteS(Tree_f, (STRING)"_Exit) () = yyExit;", 19L);
IO_WriteNl(Tree_f);
IO_WriteNl(Tree_f);
- IO_WriteS(Tree_f, (STRING)"static FILE * yyf = stdout;", 27L);
+ IO_WriteS(Tree_f, (STRING)"static FILE * yyf;", 18L);
IO_WriteNl(Tree_f);
IO_WriteNl(Tree_f);
IO_WriteS(Tree_f, (STRING)"static void yyAbort", 19L);
@@ -1594,6 +1594,8 @@
IO_WriteS(Tree_f, (STRING)" ()", 3L);
IO_WriteNl(Tree_f);
IO_WriteS(Tree_f, (STRING)"{", 1L);
+ IO_WriteNl(Tree_f);
+ IO_WriteS(Tree_f, (STRING)" yyf = stdout;", 15L);
IO_WriteNl(Tree_f);
WriteLine(W_35->Codes->U_1.V_12.Codes.BeginLine);
Texts_WriteText(Tree_f, W_35->Codes->U_1.V_12.Codes.Begin);