From c6f535c56c5d64376bebf0e580b970cd8ffbd439 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 29 Sep 2002 09:33:32 +0000 Subject: Don't guess function prototypes, that's what system headers are for. --- x11-wm/olvwm/files/patch-bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 x11-wm/olvwm/files/patch-bb (limited to 'x11-wm/olvwm') 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; -- cgit v1.2.3