pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net Mark some warnings as non-fatal for clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da387e369056
branches:  trunk
changeset: 413346:da387e369056
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 18 17:59:20 2020 +0000

description:
Mark some warnings as non-fatal for clang.

diffstat:

 net/pim6dd/Makefile |  6 ++++--
 net/pim6sd/Makefile |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r d12fbdfb8313 -r da387e369056 net/pim6dd/Makefile
--- a/net/pim6dd/Makefile       Wed Mar 18 17:58:43 2020 +0000
+++ b/net/pim6dd/Makefile       Wed Mar 18 17:59:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2013/09/10 14:36:37 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2020/03/18 17:59:20 joerg Exp $
 
 DISTNAME=      pim6dd-20031021a
 PKGREVISION=   1
@@ -11,7 +11,9 @@
 USE_BSD_MAKEFILE=      yes
 USE_FEATURES+=         inet6
 
-MAKE_ENV+=     CWARNFLAGS.clang=-Wno-error=knr-promoted-parameter
+CWARNFLAGS.clang=      -Wno-error=knr-promoted-parameter \
+                       -Wno-error=address-of-packed-member
+MAKE_ENV+=     CWARNFLAGS.clang=${CWARNFLAGS.clang:Q}
 
 CONFLICTS=     mcast-tools-*
 
diff -r d12fbdfb8313 -r da387e369056 net/pim6sd/Makefile
--- a/net/pim6sd/Makefile       Wed Mar 18 17:58:43 2020 +0000
+++ b/net/pim6sd/Makefile       Wed Mar 18 17:59:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2019/11/03 11:45:49 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2020/03/18 17:59:20 joerg Exp $
 
 DISTNAME=      pim6sd-20031021a
 PKGREVISION=   1
@@ -11,7 +11,9 @@
 USE_BSD_MAKEFILE=      yes
 USE_FEATURES+=         inet6
 
-CWARNFLAGS.clang=      -Wno-error=knr-promoted-parameter -Wno-error=pointer-sign
+CWARNFLAGS.clang=      -Wno-error=knr-promoted-parameter \
+                       -Wno-error=address-of-packed-member \
+                       -Wno-error=pointer-sign
 MAKE_ENV+=             CWARNFLAGS.clang=${CWARNFLAGS.clang:Q}
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}/pim6sd/



Home | Main Index | Thread Index | Old Index