ports/111435: [MAINT] security/zzuf: Fix build on -CURRENT
Peter Johnson
johnson.peter at gmail.com
Tue Apr 10 04:10:03 UTC 2007
>Number: 111435
>Category: ports
>Synopsis: [MAINT] security/zzuf: Fix build on -CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 10 04:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Peter Johnson
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD-CURRENT
>Description:
Pointyhat reports broken builds on 7.x.
>How-To-Repeat:
>Fix:
Some sort of symbol visibility change between 6.x and -CURRENT makes MAP_ANON
invisible to the build. Adding a #define __BSD_VISIBLE to the errant file
fixes the issue.
Add attached patch into files/.
--- patch-src__lib-mem.c begins here ---
--- ./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 */
--- patch-src__lib-mem.c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list