Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/libXfont2 Fix libXfont2 build with Cla...



details:   https://anonhg.NetBSD.org/src/rev/d56708307c20
branches:  trunk
changeset: 834233:d56708307c20
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Aug 03 02:23:09 2018 +0000

description:
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.

diffstat:

 external/mit/xorg/lib/libXfont2/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6618336c0757 -r d56708307c20 external/mit/xorg/lib/libXfont2/Makefile
--- a/external/mit/xorg/lib/libXfont2/Makefile  Fri Aug 03 02:20:20 2018 +0000
+++ b/external/mit/xorg/lib/libXfont2/Makefile  Fri Aug 03 02:23:09 2018 +0000
@@ -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}/freetype2
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/freetype2/freetype
 
+CWARNFLAGS.clang+=     -Wno-format
+
 LIBDPLIBS=\
        Xt      ${.CURDIR}/../libXt \
        SM      ${.CURDIR}/../libSM \



Home | Main Index | Thread Index | Old Index