summaryrefslogtreecommitdiffstats
path: root/misc/viz
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 03:40:36 +0000
committerkris <kris@FreeBSD.org>2002-09-05 03:40:36 +0000
commitc390fcabe153da6e77a970158e46b8acd852f1e2 (patch)
treed26edb24c77a035177ceaf56a72575673dbe607c /misc/viz
parent0b0fc2eabe5c8103a4801a269271280dc204a3ec (diff)
downloadFreeBSD-ports-c390fcabe153da6e77a970158e46b8acd852f1e2.zip
FreeBSD-ports-c390fcabe153da6e77a970158e46b8acd852f1e2.tar.gz
Fix build on -current by removing bogus duplicate declarations of things
from system headers.
Diffstat (limited to 'misc/viz')
-rw-r--r--misc/viz/files/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/viz/files/patch-ab b/misc/viz/files/patch-ab
new file mode 100644
index 0000000..2145505
--- /dev/null
+++ b/misc/viz/files/patch-ab
@@ -0,0 +1,15 @@
+--- ./vizgrammar.y.orig Wed Sep 4 20:39:08 2002
++++ ./vizgrammar.y Wed Sep 4 20:39:37 2002
+@@ -71,11 +71,10 @@
+ #include <ctype.h>
+ #include "string.h"
+ #include <errno.h>
++#include <stdlib.h>
+
+ #include "viz.h"
+
+-extern errno;
+-extern char *malloc();
+ extern int do_condense;
+
+ static mathreg = 0; /* For handling multiple-term math expressions */
OpenPOWER on IntegriCloud