pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/clamav Disable fortify due to build failure



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4251a1088c0
branches:  trunk
changeset: 365063:a4251a1088c0
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Jul 10 00:22:15 2017 +0000

description:
Disable fortify due to build failure

clamav defines a gets macro, which confuses fortify.  Until resolved,
disable fortify so that it builds.  (Note that SSP is still enabled;
clamav with SSP and without FORTIFY appears to work.)

diffstat:

 security/clamav/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 20b919fe370a -r a4251a1088c0 security/clamav/Makefile
--- a/security/clamav/Makefile  Mon Jul 10 00:21:31 2017 +0000
+++ b/security/clamav/Makefile  Mon Jul 10 00:22:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2017/01/05 11:27:21 roy Exp $
+# $NetBSD: Makefile,v 1.35 2017/07/10 00:22:15 gdt Exp $
 
 .include "Makefile.common"
 
@@ -26,6 +26,10 @@
 # bomb the build
 CONFIGURE_ARGS+=       --disable-zlib-vcheck
 
+# clamav shadows gets with a macro, which confuses FORTIFY.  Disable
+# until resolved.
+PKGSRC_USE_FORTIFY=no
+
 CHECK_PORTABILITY_SKIP=        contrib/* unit_tests/* win32/*
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index