aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-29 17:33:32 +0800
committerkris <kris@FreeBSD.org>2002-09-29 17:33:32 +0800
commit794aa8447742cd37994f92e553a0decb8f90ce0b (patch)
tree282ec915ea9c0a365a257ed79d1dc9d56211cb93 /x11-wm
parent37b005236e82d0c395cd8154d43f67b59482197f (diff)
downloadfreebsd-ports-gnome-794aa8447742cd37994f92e553a0decb8f90ce0b.tar.gz
freebsd-ports-gnome-794aa8447742cd37994f92e553a0decb8f90ce0b.tar.zst
freebsd-ports-gnome-794aa8447742cd37994f92e553a0decb8f90ce0b.zip
Don't guess function prototypes, that's what system headers are for.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/olvwm/files/patch-bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-wm/olvwm/files/patch-bb b/x11-wm/olvwm/files/patch-bb
new file mode 100644
index 000000000000..9cad8cc8dc20
--- /dev/null
+++ b/x11-wm/olvwm/files/patch-bb
@@ -0,0 +1,18 @@
+--- gettext.c.orig Sun Sep 29 02:29:20 2002
++++ gettext.c Sun Sep 29 02:29:47 2002
+@@ -17,12 +17,14 @@
+ #define bzero(a,b) memset(a,0,b)
+ #endif
+
+-char *malloc(), *strdup();
+ char * dgettext();
+ char *_gettext();
+ char *in_path();
++#ifndef __FreeBSD__
++char *malloc(), *strdup();
+ char *fgets(), *getenv();
+ caddr_t mmap(), calloc();
++#endif
+
+ #ifdef NOT
+ static struct domain_binding *firstbind=0, *lastbind=0;