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/a6e5692b0b7a
branches:  trunk
changeset: 406339:a6e5692b0b7a
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 d7d6eb1cbc86 -r a6e5692b0b7a 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