pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/arpd Just turn off "nonnull" warning instead of al...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e21b0ff46e3
branches: trunk
changeset: 515306:7e21b0ff46e3
user: tron <tron%pkgsrc.org@localhost>
date: Fri Jun 30 15:33:39 2006 +0000
description:
Just turn off "nonnull" warning instead of all warnings.
diffstat:
net/arpd/hacks.mk | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 9927316c5450 -r 7e21b0ff46e3 net/arpd/hacks.mk
--- a/net/arpd/hacks.mk Fri Jun 30 15:14:05 2006 +0000
+++ b/net/arpd/hacks.mk Fri Jun 30 15:33:39 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2006/06/30 15:13:51 tron Exp $
+# $NetBSD: hacks.mk,v 1.2 2006/06/30 15:33:39 tron Exp $
# GCC 4.1.x complains about a NULL argument to memcpy() because it gets
# confused by the definition of the ar_tha() macro under NetBSD.
@@ -6,5 +6,9 @@
.if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:Mgcc-4.1.*)
PKG_HACKS+= gcc41-null-warning
-BUILDLINK_TRANSFORM+= rm:-Wall
+
+SUBST_CLASSES+= gcc41
+SUBST_STAGE.gcc41= post-configure
+SUBST_FILES.gcc41= Makefile
+SUBST_SED.gcc41= -e "s/-Wall/-Wall -Wno-nonnull/"
.endif
Home |
Main Index |
Thread Index |
Old Index