diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-08-01 02:50:41 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-08-01 02:50:41 +0000 |
commit | 40ec9cb1db1da13e01fb74c82aa756fd6b02f694 (patch) | |
tree | 11eed12f4f8ae772e1aa2038cebd3375d72c1cb9 /x11-toolkits/xview | |
parent | Stage a mini-coup, and borrow these ports from portmgr@ for a while, (diff) |
Add patch to fix mmap function prototype being redefined even for OS's with
an mmap implementation
PR: ports/41093
Submitted by: Adam Weinberger <adam@vectors.cx>
Diffstat (limited to 'x11-toolkits/xview')
-rw-r--r-- | x11-toolkits/xview/files/patch-lq | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/xview/files/patch-lq b/x11-toolkits/xview/files/patch-lq new file mode 100644 index 000000000000..0d720edd8b1a --- /dev/null +++ b/x11-toolkits/xview/files/patch-lq @@ -0,0 +1,12 @@ +--- lib/libxview/misc/gettext.c.orig Sun Jul 28 17:07:43 2002 ++++ lib/libxview/misc/gettext.c Sun Jul 28 17:08:14 2002 +@@ -13,7 +13,9 @@ + char * dgettext(), *bindtextdomain(); + char *_gettext(); + char *fgets(), *getenv(); ++#ifndef OS_HAS_MMAP + caddr_t mmap(); ++#endif + + static struct domain_binding *firstbind=0, *lastbind=0; + |