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/libGLU Fix libGLU build with Clang/LLVM
details: https://anonhg.NetBSD.org/src/rev/0a8e26919c79
branches: trunk
changeset: 365151:0a8e26919c79
user: kamil <kamil%NetBSD.org@localhost>
date: Fri Aug 03 02:20:20 2018 +0000
description:
Fix libGLU 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/libGLU/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 2cdca8e14fe7 -r 0a8e26919c79 external/mit/xorg/lib/libGLU/Makefile
--- a/external/mit/xorg/lib/libGLU/Makefile Fri Aug 03 02:19:12 2018 +0000
+++ b/external/mit/xorg/lib/libGLU/Makefile Fri Aug 03 02:20:20 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2015/07/01 15:38:56 christos Exp $
+# $NetBSD: Makefile,v 1.18 2018/08/03 02:20:20 kamil Exp $
.include <bsd.own.mk>
@@ -158,3 +158,4 @@
.endif
CWARNFLAGS.clang+= -Wno-parentheses -Wno-tautological-compare
+CWARNFLAGS.clang+= -Wno-deprecated-register
Home |
Main Index |
Thread Index |
Old Index