Module Name: src
Committed By: rillig
Date: Sun Jul 21 08:04:06 UTC 2024
Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile
Log Message:
fontconfig: suppress lint warning about integer overflow in constants
The large table in fclang.h uses negative offsets intentionally.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/external/mit/xorg/lib/fontconfig/src/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/mit/xorg/lib/fontconfig/src/Makefile
diff -u src/external/mit/xorg/lib/fontconfig/src/Makefile:1.29 src/external/mit/xorg/lib/fontconfig/src/Makefile:1.30
--- src/external/mit/xorg/lib/fontconfig/src/Makefile:1.29 Wed Jan 25 22:35:06 2023
+++ src/external/mit/xorg/lib/fontconfig/src/Makefile Sun Jul 21 08:04:05 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2023/01/25 22:35:06 christos Exp $
+# $NetBSD: Makefile,v 1.30 2024/07/21 08:04:05 rillig Exp $
.include <bsd.own.mk>
@@ -331,6 +331,7 @@ COPTS.fcstr.c+= ${${ACTIVE_CC} == "clang
.endif
LINTFLAGS+=-DFC_NO_MT
+LINTFLAGS.fclang.c+= -X 141 # 'a - b' overflows 'unsigned long'
LIBUUID_DIST= ${NETBSDSRCDIR}/external/bsd/libuuid_ul/lib/libuuid_ul
.include "${LIBUUID_DIST}/srcs.mk"