Module Name:    src
Committed By:   joerg
Date:           Sun Aug 21 18:23:33 UTC 2016

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

Log Message:
Ignore abuse of VLAs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libdrm_nouveau/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/libdrm_nouveau/Makefile
diff -u src/external/mit/xorg/lib/libdrm_nouveau/Makefile:1.1 src/external/mit/xorg/lib/libdrm_nouveau/Makefile:1.2
--- src/external/mit/xorg/lib/libdrm_nouveau/Makefile:1.1	Tue Oct 13 04:33:21 2015
+++ src/external/mit/xorg/lib/libdrm_nouveau/Makefile	Sun Aug 21 18:23:33 2016
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2015/10/13 04:33:21 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2016/08/21 18:23:33 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -11,6 +11,8 @@ SRCS=	nouveau.c \
 	bufctx.c \
 	abi16.c
 
+COPTS.nouveau.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=gnu-variable-sized-type-not-at-end :}
+
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}
 

Reply via email to