summaryrefslogtreecommitdiff
path: root/x11-fm/jafm/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/jafm/files/patch-ac')
-rw-r--r--x11-fm/jafm/files/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-fm/jafm/files/patch-ac b/x11-fm/jafm/files/patch-ac
new file mode 100644
index 000000000000..fdd0b05927a6
--- /dev/null
+++ b/x11-fm/jafm/files/patch-ac
@@ -0,0 +1,21 @@
+--- zicon.y.orig Wed Sep 24 00:09:52 1997
++++ zicon.y Sat Feb 26 19:51:35 2000
+@@ -3,6 +3,7 @@
+ /* we pass a pointer to the painter into the */
+ #define YYPARSE_PARAM p
+
++#include <stdlib.h>
+ #include "icon.hh"
+
+ #define PROGRAM ((IconProgram *)p)
+@@ -13,6 +14,10 @@
+ int bufAlloc = 160 ;
+ short int *buffer = new short int[bufAlloc] ;
+
++extern int yyerror(char *);
++extern "C" {
++ extern int yylex(void);
++};
+
+ %}
+