pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gpgme gpgme: fix for older GCC.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee8056c659a3
branches:  trunk
changeset: 401019:ee8056c659a3
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Sep 09 11:19:33 2019 +0000

description:
gpgme: fix for older GCC.

Remove unrecognized flag (GCC 4.8.5), default to -std=gnu99, since we have
loop initial declarations.

tested on SmartOS and CentOS 7.

diffstat:

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

diffs (27 lines):

diff -r ecff91448227 -r ee8056c659a3 security/gpgme/Makefile
--- a/security/gpgme/Makefile   Mon Sep 09 11:05:00 2019 +0000
+++ b/security/gpgme/Makefile   Mon Sep 09 11:19:33 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2019/07/03 20:29:54 adam Exp $
+# $NetBSD: Makefile,v 1.95 2019/09/09 11:19:33 maya Exp $
 
 DISTNAME=      gpgme-1.13.1
 CATEGORIES=    security
@@ -10,7 +10,7 @@
 COMMENT=       GnuPG Made Easy
 LICENSE=       gnu-gpl-v2
 
-USE_LANGUAGES+=                c c++
+USE_LANGUAGES+=                c99 c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
@@ -26,6 +26,8 @@
 CPPFLAGS.Darwin=       -D_POSIX_C_SOURCE=200809L
 LIBS.SunOS+=           -lnsl -lsocket
 
+BUILDLINK_TRANSFORM+=  rm:-Wsuggest-override
+
 TEST_TARGET=           check
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index