pkgsrc-Changes archive

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

CVS commit: pkgsrc/ham/xlog



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Feb  4 20:15:31 UTC 2021

Modified Files:
        pkgsrc/ham/xlog: Makefile

Log Message:
ham/xlog: Re-rototill -Wno-stringop-truncation

Further investigation reveals this is present in recent clang and
recent gcc but not moderately old (but still very relevant) gcc.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/ham/xlog/Makefile

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

Modified files:

Index: pkgsrc/ham/xlog/Makefile
diff -u pkgsrc/ham/xlog/Makefile:1.94 pkgsrc/ham/xlog/Makefile:1.95
--- pkgsrc/ham/xlog/Makefile:1.94       Thu Feb  4 20:02:14 2021
+++ pkgsrc/ham/xlog/Makefile    Thu Feb  4 20:15:31 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2021/02/04 20:02:14 gdt Exp $
+# $NetBSD: Makefile,v 1.95 2021/02/04 20:15:31 gdt Exp $
 #
 
 DISTNAME=      xlog-2.0.20
@@ -16,9 +16,6 @@ GNU_CONFIGURE=                yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake pkg-config
 
-# Fails with gcc 5.5.0 (netbsd-8) and clang.
-BUILDLINK_TRANSFORM+=  rm:-Wno-stringop-truncation
-
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 BUILDLINK_TRANSFORM+=  rm:-Wno-unused-but-set-variable
@@ -34,6 +31,11 @@ _WRAP_EXTRA_ARGS.CC+=        -Wno-uninitialized
 CWRAPPERS_APPEND.cc+=  -Wno-uninitialized
 .endif
 
+.if !empty(PKGSRC_COMPILER:Mgcc)
+# Fails with gcc 5.5.0 (netbsd-8).
+BUILDLINK_TRANSFORM+=  rm:-Wno-stringop-truncation
+.endif
+
 .include "../../databases/shared-mime-info/buildlink3.mk"
 .include "../../graphics/gnome-icon-theme/buildlink3.mk"
 .include "../../ham/hamlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index