aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-08-24 00:16:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-08-24 00:16:50 +0000
commitd3ad7f727e4ab18113f283886809417595286d20 (patch)
treead38c2a0c2f9427e6de2f95bb8f44a2d82b912f0 /x11
parentf6af7f6221d71df925c5de02595d5f637ffb277f (diff)
downloadports-d3ad7f727e4ab18113f283886809417595286d20.tar.gz
ports-d3ad7f727e4ab18113f283886809417595286d20.zip
Don't try and guess prototypes, that's what system headers are for.
This port is still broken on -current.
Notes
Notes: svn path=/head/; revision=64932
Diffstat (limited to 'x11')
-rw-r--r--x11/bricons/files/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/bricons/files/patch-ad b/x11/bricons/files/patch-ad
new file mode 100644
index 000000000000..80fff2e09f81
--- /dev/null
+++ b/x11/bricons/files/patch-ad
@@ -0,0 +1,22 @@
+--- gen.h.orig Fri Aug 23 17:09:23 2002
++++ gen.h Fri Aug 23 17:10:23 2002
+@@ -12,6 +12,8 @@
+ #include <X11/Shell.h>
+ #include <X11/Xaw/Cardinals.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <stdio.h>
+ /* #include <malloc.h> */
+ #include <ctype.h>
+ #include <unistd.h>
+@@ -75,10 +77,6 @@
+ }ChildInfo;
+
+ ChildInfo ci_ptr[MAXPROCS];
+-
+-/* forward declarations */
+-int fprintf(), ungetc(), fclose(), fscanf();
+-char *strcpy(), *getenv(), *malloc();
+
+ typedef int bool_t;
+