Module Name:    src
Committed By:   kamil
Date:           Fri Aug  3 02:23:09 UTC 2018

Modified Files:
        src/external/mit/xorg/lib/libXfont2: Makefile

Log Message:
Fix libXfont2 build with Clang/LLVM on i386

The code uses non-orthodox types in format strings.
Add a compiler flag to disable a warning that is turned into a fatal error.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libXfont2/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/libXfont2/Makefile
diff -u src/external/mit/xorg/lib/libXfont2/Makefile:1.4 src/external/mit/xorg/lib/libXfont2/Makefile:1.5
--- src/external/mit/xorg/lib/libXfont2/Makefile:1.4	Wed May  9 08:39:54 2018
+++ src/external/mit/xorg/lib/libXfont2/Makefile	Fri Aug  3 02:23:09 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2018/05/09 08:39:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2018/08/03 02:23:09 kamil Exp $
 
 .include <bsd.own.mk>
 
@@ -111,6 +111,8 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2/freetype
 
+CWARNFLAGS.clang+=	-Wno-format
+
 LIBDPLIBS=\
 	Xt	${.CURDIR}/../libXt \
 	SM	${.CURDIR}/../libSM \

Reply via email to