summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-08-01 02:50:41 +0000
committerpat <pat@FreeBSD.org>2002-08-01 02:50:41 +0000
commit791f7db25955e1c04bfc675426f5e8c1e9cd0905 (patch)
treef823f4ad8d5902b0bf97dd4bee1496168e88b0aa /x11-toolkits
parentb41ef3cf6733262e09ff0a890c9354538740099f (diff)
downloadFreeBSD-ports-791f7db25955e1c04bfc675426f5e8c1e9cd0905.zip
FreeBSD-ports-791f7db25955e1c04bfc675426f5e8c1e9cd0905.tar.gz
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')
-rw-r--r--x11-toolkits/xview/files/patch-lq12
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 0000000..0d720ed
--- /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;
+
OpenPOWER on IntegriCloud