diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-29 09:33:32 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-29 09:33:32 +0000 |
commit | c6f535c56c5d64376bebf0e580b970cd8ffbd439 (patch) | |
tree | e5f18dca136720eb5ccc0a56884a72d25a2fdb54 /x11-wm/olvwm | |
parent | Fix build (remove duplicate *alloc declarations) (diff) |
Don't guess function prototypes, that's what system headers are for.
Diffstat (limited to 'x11-wm/olvwm')
-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; |