Fix build with SSP enabled.diff -r1.7 -r1.8 src/external/mit/xorg/bin/xkbcomp/Makefile
(tron)
--- src/external/mit/xorg/bin/xkbcomp/Makefile 2011/02/21 04:54:52 1.7
+++ src/external/mit/xorg/bin/xkbcomp/Makefile 2011/07/30 11:18:23 1.8
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2011/02/21 04:54:52 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2011/07/30 11:18:23 tron Exp $
.include <bsd.own.mk>
.include "Makefile.common"
@@ -13,6 +13,7 @@
CPPFLAGS+= -I${X11SRCDIR.${PROG}} -I${X11SRCDIR.${PROG}}/../include -DHAVE_CONFIG_H
CPPFLAGS.geometry.c= -Wno-error # XXX
+COPTS.xkbscan.c+= -Wno-stack-protector
FILESDIR=${XKBROOTDIR}
FILES= README