diff options
author | kris <kris@FreeBSD.org> | 2002-09-29 17:33:32 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-29 17:33:32 +0800 |
commit | 794aa8447742cd37994f92e553a0decb8f90ce0b (patch) | |
tree | 282ec915ea9c0a365a257ed79d1dc9d56211cb93 /x11-wm | |
parent | 37b005236e82d0c395cd8154d43f67b59482197f (diff) | |
download | freebsd-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-bb | 18 |
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; |