pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkgin



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov  4 08:39:05 UTC 2019

Modified Files:
        pkgsrc/pkgtools/pkgin: Makefile

Log Message:
pkgin: fix build with gcc-8.x

Turn off string truncation and overflow warnings until the code is fixed


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/pkgtools/pkgin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkgin/Makefile
diff -u pkgsrc/pkgtools/pkgin/Makefile:1.91 pkgsrc/pkgtools/pkgin/Makefile:1.92
--- pkgsrc/pkgtools/pkgin/Makefile:1.91 Tue Sep 24 12:57:22 2019
+++ pkgsrc/pkgtools/pkgin/Makefile      Mon Nov  4 08:39:04 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2019/09/24 12:57:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.92 2019/11/04 08:39:04 wiz Exp $
 
 DISTNAME=              pkgin-0.13.0
 CATEGORIES=            pkgtools
@@ -38,6 +38,12 @@ USE_TOOLS+=          nroff
 
 .include "../../mk/bsd.prefs.mk"
 
+# needed for gcc-8.x as of pkgin-0.13.0
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CFLAGS+=               -Wno-stringop-overflow
+CFLAGS+=               -Wno-stringop-truncation
+.endif
+
 SUBST_CLASSES.NetBSD+= osrel
 SUBST_STAGE.osrel=     pre-configure
 SUBST_MESSAGE.osrel=   Adjusting repository OS release



Home | Main Index | Thread Index | Old Index