aboutsummaryrefslogtreecommitdiffstats
path: root/security/zzuf
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-04-12 04:27:21 +0800
committermiwi <miwi@FreeBSD.org>2007-04-12 04:27:21 +0800
commit476383b9c2b9538a7dae64f07457f5fbb0050f53 (patch)
treebfdbebdaf2bf61ad31ae3b6fba45cfcf7ea48f21 /security/zzuf
parentcf4c4f8bca523f4038bd2a9da632f474c14b7c90 (diff)
downloadfreebsd-ports-gnome-476383b9c2b9538a7dae64f07457f5fbb0050f53.tar.gz
freebsd-ports-gnome-476383b9c2b9538a7dae64f07457f5fbb0050f53.tar.zst
freebsd-ports-gnome-476383b9c2b9538a7dae64f07457f5fbb0050f53.zip
- Fix build on HEAD
PR: 111435 Submitted by: Peter Johnson <johnson.peter@gmail.com> (maintainer)
Diffstat (limited to 'security/zzuf')
-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 */