summaryrefslogtreecommitdiff
path: root/print/pic2fig/files/patch-picl.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/pic2fig/files/patch-picl.c')
-rw-r--r--print/pic2fig/files/patch-picl.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/print/pic2fig/files/patch-picl.c b/print/pic2fig/files/patch-picl.c
new file mode 100644
index 000000000000..a5de3d183380
--- /dev/null
+++ b/print/pic2fig/files/patch-picl.c
@@ -0,0 +1,19 @@
+--- picl.c.orig Wed Apr 3 10:27:34 2002
++++ picl.c Wed Apr 3 10:29:53 2002
+@@ -17,7 +17,7 @@
+ int yymorfg;
+ extern char *yysptr, yysbuf[];
+ int yytchar;
+-FILE *yyin = {stdin}, *yyout = {stdout};
++FILE *yyin, *yyout;
+ extern int yylineno;
+ struct yysvf {
+ struct yywork *yystoff;
+@@ -40,7 +40,6 @@
+ #include "pic.h"
+ # include "picy.h"
+
+-extern float atof();
+ extern char *filename;
+ extern int synerr;
+