Module Name: src Committed By: mrg Date: Mon Apr 26 21:43:19 UTC 2021
Modified Files: src/external/mit/xorg/lib/libXaw: Makefile Log Message: define _CONST_X_STRING. avoid remaining const issues new libXt. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/mit/xorg/lib/libXaw/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/libXaw/Makefile diff -u src/external/mit/xorg/lib/libXaw/Makefile:1.14 src/external/mit/xorg/lib/libXaw/Makefile:1.15 --- src/external/mit/xorg/lib/libXaw/Makefile:1.14 Tue Jan 7 07:27:50 2020 +++ src/external/mit/xorg/lib/libXaw/Makefile Mon Apr 26 21:43:19 2021 @@ -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 @@ INCSDIR=${X11INCDIR}/X11/Xaw 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 @@ X11EXTRAMANTRANSFORMS+= \ .include <bsd.lib.mk> CWARNFLAGS.clang+= -Wno-format + +COPTS.Pixmap.c+= -Wno-discarded-qualifiers +COPTS.TextAction.c+= -Wno-discarded-qualifiers