diff options
author | kris <kris@FreeBSD.org> | 2002-08-24 08:16:50 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-08-24 08:16:50 +0800 |
commit | a56b5181d74715f61f196c4d9c1d9fc0a4336635 (patch) | |
tree | ea52766beacc53dfca5d20e277743d77957e602d | |
parent | 0cf07418ef5520a1b89239d870457f6bab2e7059 (diff) | |
download | freebsd-ports-gnome-a56b5181d74715f61f196c4d9c1d9fc0a4336635.tar.gz freebsd-ports-gnome-a56b5181d74715f61f196c4d9c1d9fc0a4336635.tar.zst freebsd-ports-gnome-a56b5181d74715f61f196c4d9c1d9fc0a4336635.zip |
Don't try and guess prototypes, that's what system headers are for.
This port is still broken on -current.
-rw-r--r-- | x11/bricons/files/patch-ad | 22 |
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; + |