diff options
| author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-04-04 04:41:10 +0000 |
|---|---|---|
| committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-04-04 04:41:10 +0000 |
| commit | 83d74a8b688e3ad28b893f92a0fa025a26b510b7 (patch) | |
| tree | e61e5030de33fa8433af1265a979437d31e5f4ef /print/pic2fig/files/patch-ad | |
| parent | - Update to 0.06 (diff) | |
Add patches to fix building on -current correctly
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=57295
Diffstat (limited to 'print/pic2fig/files/patch-ad')
| -rw-r--r-- | print/pic2fig/files/patch-ad | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/print/pic2fig/files/patch-ad b/print/pic2fig/files/patch-ad new file mode 100644 index 000000000000..1a44c1438d07 --- /dev/null +++ b/print/pic2fig/files/patch-ad @@ -0,0 +1,31 @@ +--- main.c.orig Mon Feb 8 06:21:12 1988 ++++ main.c Wed Apr 3 10:28:56 2002 +@@ -1,10 +1,10 @@ + #include <stdio.h> + #include <ctype.h> ++#include <strings.h> + #include "pic.h" + #include "picy.h" + + static reset(); +-extern char *sprintf(), *strcpy(); + + struct obj *objlist[MAXOBJ]; /* store the elements here */ + int nobj = 0; +@@ -27,7 +27,7 @@ + float deltx = 6; /* max x value in output, for scaling */ + float delty = 6; /* max y value in output, for scaling */ + int dbg = 0; +-extern FILE *yyin; /* input file pointer */ ++extern FILE *yyin, *yyout; /* input and out file pointers */ + FILE *TEXFILE; /* Output file */ + int lineno = 0; + char *filename = "-"; +@@ -51,6 +51,7 @@ + { + char TEXfilename[BUFSIZ], buffer[BUFSIZ], *bp, *rindex(); + ++ yyin = stdin; yyout = stdout; + cmdname = argv[0]; + while (argc > 1 && *argv[1] == '-') { + switch (argv[1][1]) { |
