Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/xcalc define _CONST_X_STRING to silenc...



details:   https://anonhg.NetBSD.org/src/rev/827287f84af1
branches:  trunk
changeset: 461790:827287f84af1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 08 20:37:33 2019 +0000

description:
define _CONST_X_STRING to silence Xt warnings (from xcalc 1.1.0.)

diffstat:

 external/mit/xorg/bin/xcalc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ae29ca5a5770 -r 827287f84af1 external/mit/xorg/bin/xcalc/Makefile
--- a/external/mit/xorg/bin/xcalc/Makefile      Mon Jul 08 19:46:57 2019 +0000
+++ b/external/mit/xorg/bin/xcalc/Makefile      Mon Jul 08 20:37:33 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2015/07/19 08:49:50 mrg Exp $
+#      $NetBSD: Makefile,v 1.5 2019/07/08 20:37:33 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -11,7 +11,7 @@
 DPADD+=        ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
        ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
 
-CPPFLAGS+=     -DHAVE_STRLCPY
+CPPFLAGS+=     -DHAVE_STRLCPY -D_CONST_X_STRING
 
 .PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
 .PATH: ${X11SRCDIR.${PROG}}/man



Home | Main Index | Thread Index | Old Index