Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/server/drivers/xf86-video-wsfb Fix xf86-vi...



details:   https://anonhg.NetBSD.org/src/rev/ffe5ed44a21d
branches:  trunk
changeset: 365153:ffe5ed44a21d
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Aug 03 02:26:00 2018 +0000

description:
Fix xf86-video-wsfb build with Clang/LLVM

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/server/drivers/xf86-video-wsfb/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 4c725b144766 -r ffe5ed44a21d external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile Fri Aug 03 02:23:09 2018 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile Fri Aug 03 02:26:00 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2009/06/12 01:59:04 mrg Exp $
+#      $NetBSD: Makefile,v 1.5 2018/08/03 02:26:00 kamil Exp $
 
 DRIVER=                xf86-video-wsfb
 DRIVER_NAME=   wsfb_drv
@@ -8,4 +8,6 @@
 
 CPPFLAGS+=     -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
 
+CWARNFLAGS.clang+=     -Wno-format
+
 .include "../Makefile.xf86-driver"



Home | Main Index | Thread Index | Old Index