aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-11 20:27:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-11 20:27:21 +0000
commitbd4d3774a990e6ec8c1aee5680357293e0ad5b5d (patch)
tree153f27b3c539e8773b0189b6d6e1a78d6c9084b3
parent4f5130c0a32ef38f5e29a529ee6e6f5ec654bad2 (diff)
downloadports-bd4d3774a990e6ec8c1aee5680357293e0ad5b5d.tar.gz
ports-bd4d3774a990e6ec8c1aee5680357293e0ad5b5d.zip
Notes
-rw-r--r--security/zzuf/Makefile1
-rw-r--r--security/zzuf/files/patch-src_lib-mem.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/zzuf/Makefile b/security/zzuf/Makefile
index 40aa55648f3c..1f4c25bbee87 100644
--- a/security/zzuf/Makefile
+++ b/security/zzuf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zzuf
PORTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://sam.zoy.org/zzuf/
diff --git a/security/zzuf/files/patch-src_lib-mem.c b/security/zzuf/files/patch-src_lib-mem.c
new file mode 100644
index 000000000000..00d62357c82b
--- /dev/null
+++ b/security/zzuf/files/patch-src_lib-mem.c
@@ -0,0 +1,11 @@
+--- src/lib-mem.c.orig Tue Feb 20 18:18:25 2007
++++ src/lib-mem.c Mon Apr 9 12:45:22 2007
+@@ -20,6 +20,8 @@
+
+ /* Need this for RTLD_NEXT */
+ #define _GNU_SOURCE
++/* Need this for MAP_ANON */
++#define __BSD_VISIBLE 1
+ /* Use this to get mmap64() on glibc systems */
+ #define _LARGEFILE64_SOURCE
+ /* Use this to get posix_memalign */