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.
This commit is contained in:
kamil 2018-08-03 02:26:00 +00:00
parent 59cb04fbbd
commit edf90d610b
1 changed files with 3 additions and 1 deletions

View File

@ -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 @@ MAN= wsfb.4
CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
CWARNFLAGS.clang+= -Wno-format
.include "../Makefile.xf86-driver"