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/libXaw define _CONST_X_STRING. avoid ...



details:   https://anonhg.NetBSD.org/src/rev/70387d5cce2e
branches:  trunk
changeset: 961999:70387d5cce2e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Apr 26 21:43:19 2021 +0000

description:
define _CONST_X_STRING.  avoid remaining const issues new libXt.

diffstat:

 external/mit/xorg/lib/libXaw/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r ce0008b00c0a -r 70387d5cce2e external/mit/xorg/lib/libXaw/Makefile
--- a/external/mit/xorg/lib/libXaw/Makefile     Mon Apr 26 21:40:21 2021 +0000
+++ b/external/mit/xorg/lib/libXaw/Makefile     Mon Apr 26 21:43:19 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2020/01/07 07:27:50 mrg Exp $
+#      $NetBSD: Makefile,v 1.15 2021/04/26 21:43:19 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -53,6 +53,7 @@
 CPPFLAGS+=     -DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM
 CPPFLAGS+=     -DHAVE_GETPAGESIZE
 CPPFLAGS+=     -DHAVE_UNISTD_H
+CPPFLAGS+=     -D_CONST_X_STRING=1
 CPPFLAGS+=     -DPROJECT_ROOT=\"${X11ROOTDIR}\" -DXAW7
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11/Xaw
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11/extensions
@@ -76,3 +77,6 @@
 .include <bsd.lib.mk>
 
 CWARNFLAGS.clang+=     -Wno-format
+
+COPTS.Pixmap.c+=       -Wno-discarded-qualifiers
+COPTS.TextAction.c+=   -Wno-discarded-qualifiers



Home | Main Index | Thread Index | Old Index