freebsd-ports/print/pic2fig/files/patch-ag
David W. Chapman Jr. 83d74a8b68 Add patches to fix building on -current correctly
Submitted by:	maintainer
2002-04-04 04:41:10 +00:00

20 lines
409 B
Plaintext

--- 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;