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/dri7 Fix dri7 build with Clang/LLVM
details: https://anonhg.NetBSD.org/src/rev/2cdca8e14fe7
branches: trunk
changeset: 365150:2cdca8e14fe7
user: kamil <kamil%NetBSD.org@localhost>
date: Fri Aug 03 02:19:12 2018 +0000
description:
Fix dri7 build with Clang/LLVM
The register keyword is deprecated in newer C++ standards.
Add a compiler flag to disable a warning that is turned into a fatal error.
diffstat:
external/mit/xorg/lib/dri7/libglsl7.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 6d9408f613be -r 2cdca8e14fe7 external/mit/xorg/lib/dri7/libglsl7.mk
--- a/external/mit/xorg/lib/dri7/libglsl7.mk Fri Aug 03 02:17:33 2018 +0000
+++ b/external/mit/xorg/lib/dri7/libglsl7.mk Fri Aug 03 02:19:12 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: libglsl7.mk,v 1.1 2015/01/05 03:45:31 mrg Exp $
+# $NetBSD: libglsl7.mk,v 1.2 2018/08/03 02:19:12 kamil Exp $
# This copy for MesaLib7 old drivers.
@@ -14,6 +14,7 @@
CPPFLAGS+= -I${X11SRCDIR.MesaLib7}/src/glsl
CPPFLAGS+= -I${X11SRCDIR.MesaLib7}/src/mapi
CPPFLAGS+= -I${X11SRCDIR.MesaLib7}/src/mesa
+COPTS.glsl_lexer.cpp+= -Wno-deprecated-register
SRCS.glsl.libglcpp= \
glcpp-lex.c \
Home |
Main Index |
Thread Index |
Old Index