pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6c031ecca24
branches:  trunk
changeset: 345833:a6c031ecca24
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Dec 19 21:14:02 2019 +0000

description:
nam: modern compilers fussy about unsigned char

diffstat:

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

diffs (22 lines):

diff -r 78c0018604f7 -r a6c031ecca24 net/nam/Makefile
--- a/net/nam/Makefile  Thu Dec 19 16:59:44 2019 +0000
+++ b/net/nam/Makefile  Thu Dec 19 21:14:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2018/03/12 11:17:21 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2019/12/19 21:14:02 markd Exp $
 
 DISTNAME=      nam-src-1.15
 PKGNAME=       nam-1.15
@@ -24,6 +24,12 @@
 
 CONFIGURE_ENV+=                V_LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; . ${TKCONFIG_SH}; ${ECHO} $$TK_LIBS'`"
 
+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



Home | Main Index | Thread Index | Old Index