pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gvfs gvfs: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42236da936ff
branches:  trunk
changeset: 459013:42236da936ff
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 13:00:13 2021 +0000

description:
gvfs: Support GCC >= 10.

diffstat:

 sysutils/gvfs/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a59a78a372d8 -r 42236da936ff sysutils/gvfs/Makefile
--- a/sysutils/gvfs/Makefile    Tue Sep 28 12:59:40 2021 +0000
+++ b/sysutils/gvfs/Makefile    Tue Sep 28 13:00:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.116 2021/04/21 13:25:22 adam Exp $
+# $NetBSD: Makefile,v 1.117 2021/09/28 13:00:13 jperkin Exp $
 #
 
 DISTNAME=      gvfs-1.6.7
@@ -72,7 +72,7 @@
 
 .include "../../mk/compiler.mk"
 
-.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 -D__EXTENSIONS__
 .else
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=500 -D__EXTENSIONS__



Home | Main Index | Thread Index | Old Index