pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ns ns: modern compilers fussy about unsigned char



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d82e0751731a
branches:  trunk
changeset: 406340:d82e0751731a
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Dec 19 21:15:39 2019 +0000

description:
ns: modern compilers fussy about unsigned char

diffstat:

 net/ns/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r a6e5692b0b7a -r d82e0751731a net/ns/Makefile
--- a/net/ns/Makefile   Thu Dec 19 21:14:02 2019 +0000
+++ b/net/ns/Makefile   Thu Dec 19 21:15:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2019/11/03 11:45:44 rillig Exp $
+# $NetBSD: Makefile,v 1.51 2019/12/19 21:15:39 markd Exp $
 
 DISTNAME=      ns-src-2.35
 PKGNAME=       ns-2.35
@@ -28,6 +28,12 @@
 CONFIGURE_ENV+=                X11LIBDIR=${X11BASE}/lib${LIBABISUFFIX}
 CONFIGURE_ENV+=                X11INCDIR=${X11BASE}/include
 
+SUBST_CLASSES+=                char
+SUBST_STAGE.char=      pre-configure
+SUBST_MESSAGE.char=    unsigned char needed for 8bit values
+SUBST_FILES.char=      bitmap/*.xbm
+SUBST_SED.char=                -e 's,char,u_char,'
+
 MESSAGE_SUBST+=                HOMEPAGE=${HOMEPAGE}
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/ns



Home | Main Index | Thread Index | Old Index