pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/clamav clamav: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a59a78a372d8
branches:  trunk
changeset: 459012:a59a78a372d8
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 12:59:40 2021 +0000

description:
clamav: Support GCC >= 10.

diffstat:

 security/clamav/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 19874d0fc6da -r a59a78a372d8 security/clamav/Makefile
--- a/security/clamav/Makefile  Tue Sep 28 12:59:11 2021 +0000
+++ b/security/clamav/Makefile  Tue Sep 28 12:59:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2021/06/03 15:47:34 taca Exp $
+# $NetBSD: Makefile,v 1.78 2021/09/28 12:59:40 jperkin Exp $
 
 .include "Makefile.common"
 
@@ -39,7 +39,7 @@
 NOT_PAX_MPROTECT_SAFE+=        bin/freshclam
 
 CFLAGS.SunOS+=         -D__EXTENSIONS__
-.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600
 .endif
 



Home | Main Index | Thread Index | Old Index