Module Name:    src
Committed By:   joerg
Date:           Mon Apr 20 13:04:10 UTC 2020

Modified Files:
        src/external/bsd/nvi/usr.bin/nvi: Makefile
        src/external/ibm-public/postfix: Makefile.inc
        src/external/mit/xorg/bin/xkbcomp: Makefile

Log Message:
Don't let clang warn about comparing pointers with string literals.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/bsd/nvi/usr.bin/nvi/Makefile
cvs rdiff -u -r1.22 -r1.23 src/external/ibm-public/postfix/Makefile.inc
cvs rdiff -u -r1.10 -r1.11 src/external/mit/xorg/bin/xkbcomp/Makefile

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

Modified files:

Index: src/external/bsd/nvi/usr.bin/nvi/Makefile
diff -u src/external/bsd/nvi/usr.bin/nvi/Makefile:1.21 src/external/bsd/nvi/usr.bin/nvi/Makefile:1.22
--- src/external/bsd/nvi/usr.bin/nvi/Makefile:1.21	Sun Apr 12 17:28:57 2020
+++ src/external/bsd/nvi/usr.bin/nvi/Makefile	Mon Apr 20 13:04:10 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.21 2020/04/12 17:28:57 martin Exp $
+#	$NetBSD: Makefile,v 1.22 2020/04/20 13:04:10 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -17,6 +17,7 @@ COPTS.v_increment.c+=	-Wno-format-nonlit
 CWARNFLAGS.gcc+=	-Wno-unused
 CWARNFLAGS.clang+=	-Wno-unsequenced
 .endif
+CWARNFLAGS.clang+=	-Wno-error=string-compare
 
 CPPFLAGS+=-I${DIST}/include -I${.CURDIR} -I.
 CPPFLAGS+=-DGTAGS -DIMCTRL

Index: src/external/ibm-public/postfix/Makefile.inc
diff -u src/external/ibm-public/postfix/Makefile.inc:1.22 src/external/ibm-public/postfix/Makefile.inc:1.23
--- src/external/ibm-public/postfix/Makefile.inc:1.22	Sat Apr  4 15:45:45 2020
+++ src/external/ibm-public/postfix/Makefile.inc	Mon Apr 20 13:04:10 2020
@@ -1,9 +1,10 @@
-#	$NetBSD: Makefile.inc,v 1.22 2020/04/04 15:45:45 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.23 2020/04/20 13:04:10 joerg Exp $
 
 .include <bsd.own.mk>
 
 USE_FORT?= yes	# network client and server
-CWARNFLAGS.clang+=	-Wno-empty-body -Wno-format-extra-args -Wno-string-plus-int
+CWARNFLAGS.clang+=	-Wno-empty-body -Wno-format-extra-args \
+			-Wno-string-plus-int -Wno-string-compare
 WARNS?=	0
 
 PFIX_DISTDIR=	${NETBSDSRCDIR}/external/ibm-public/postfix/dist

Index: src/external/mit/xorg/bin/xkbcomp/Makefile
diff -u src/external/mit/xorg/bin/xkbcomp/Makefile:1.10 src/external/mit/xorg/bin/xkbcomp/Makefile:1.11
--- src/external/mit/xorg/bin/xkbcomp/Makefile:1.10	Mon Jul 20 23:50:23 2015
+++ src/external/mit/xorg/bin/xkbcomp/Makefile	Mon Apr 20 13:04:10 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2015/07/20 23:50:23 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2020/04/20 13:04:10 joerg Exp $
 
 .include <bsd.own.mk>
 .include "Makefile.common"
@@ -28,7 +28,7 @@ DPADD+=	${LIBXKBFILE} ${LIBXEXT} ${LIBX1
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man
 
-CWARNFLAGS.clang+=	-Wno-parentheses
+CWARNFLAGS.clang+=	-Wno-parentheses -Wno-string-compare
 
 .include "../../xorg-pkg-ver.mk"
 

Reply via email to