pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/vinagre vinagre: Disable format-literal errors in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ac6f73a3895
branches:  trunk
changeset: 380531:6ac6f73a3895
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed May 16 13:36:19 2018 +0000

description:
vinagre: Disable format-literal errors in newer GCC.

diffstat:

 net/vinagre/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 34664d5ead80 -r 6ac6f73a3895 net/vinagre/Makefile
--- a/net/vinagre/Makefile      Wed May 16 13:30:53 2018 +0000
+++ b/net/vinagre/Makefile      Wed May 16 13:36:19 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2018/04/17 22:29:47 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2018/05/16 13:36:19 jperkin Exp $
 #
 
 DISTNAME=      vinagre-3.6.2
@@ -25,7 +25,8 @@
 LDFLAGS.SunOS+=        -lnsl
 
 .include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
+
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9].*)
 CFLAGS+=       -Wno-error=format-nonliteral
 .endif
 



Home | Main Index | Thread Index | Old Index