Date: Mon, 9 Apr 2007 21:07:54 -0700 (PDT) From: Peter Johnson <johnson.peter@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/111435: [MAINT] security/zzuf: Fix build on -CURRENT Message-ID: <20070410040754.30CA11704B@cvs.tortall.net> Resent-Message-ID: <200704100410.l3A4A3LP016466@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070410040754.30CA11704B>