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/6618336c0757
branches:  trunk
changeset: 834232:6618336c0757
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 80aef2c945bf -r 6618336c0757 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