From 7755e4d53500a8396553c62efba085515f8e1e1b Mon Sep 17 00:00:00 2001 From: he Date: Wed, 8 Oct 2014 15:50:18 +0000 Subject: Add a patch to handle DISPLAY-HINT with 't' the same as 'a', so that we can deal with an updated snmpFrameworkMIB with SnmpAdminString ::= TEXTUAL-CONVENTION DISPLAY-HINT "255t" Bump PKGREVISION. --- net/tcl-scotty/Makefile | 4 ++-- net/tcl-scotty/distinfo | 3 ++- net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c (limited to 'net') diff --git a/net/tcl-scotty/Makefile b/net/tcl-scotty/Makefile index 63ba905abde..d303d40f5cd 100644 --- a/net/tcl-scotty/Makefile +++ b/net/tcl-scotty/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.32 2014/03/05 13:52:29 he Exp $ +# $NetBSD: Makefile,v 1.33 2014/10/08 15:50:18 he Exp $ # DISTNAME= scotty-${DIST_VERS} PKGNAME= tcl-scotty-${DIST_VERS} -PKGREVISION= 10 +PKGREVISION= 11 CATEGORIES= net tcl MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/ diff --git a/net/tcl-scotty/distinfo b/net/tcl-scotty/distinfo index 710b9eca41e..459c3188ab0 100644 --- a/net/tcl-scotty/distinfo +++ b/net/tcl-scotty/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.13 2014/05/30 11:35:35 joerg Exp $ +$NetBSD: distinfo,v 1.14 2014/10/08 15:50:18 he Exp $ SHA1 (scotty-2.1.11.tar.gz) = 819011f908c57e4591d6f50e51677c01eb55dc13 RMD160 (scotty-2.1.11.tar.gz) = 3b4d45f3db73f05b49a46017bf2ffed6d6464b00 Size (scotty-2.1.11.tar.gz) = 1381059 bytes +SHA1 (patch-snmp_tnmMibQuery.c) = 86f2cecac8a0766e7075836569d76671a3d15547 SHA1 (patch-tkined_apps_ip__discover.tcl) = bf067f64474dc3ed6306caa468f29a040023e165 SHA1 (patch-tnm_gdmo_tnmGdmoTcl.c) = cc67acec2df2cc34a73b0319d452b7ee0aafc5cc SHA1 (patch-tnm_generic_tnm.h) = 781250970f5d6e1b0653175ce024d8310168f611 diff --git a/net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c b/net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c new file mode 100644 index 00000000000..564c2b7d344 --- /dev/null +++ b/net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c @@ -0,0 +1,15 @@ +$NetBSD: patch-snmp_tnmMibQuery.c,v 1.1 2014/10/08 15:50:18 he Exp $ + +Treat DISPLAY-HINT with 't' (UTF-8 string) the same as 'a' (ASCII string). + +--- ./tnm/snmp/tnmMibQuery.c.orig 1999-12-09 15:17:00.000000000 +0000 ++++ ./tnm/snmp/tnmMibQuery.c +@@ -705,7 +705,7 @@ FormatOctetTC(val, fmt) + } + + /* scan format: */ +- if (*fmt == 'a') { ++ if (*fmt == 'a' || *fmt == 't') { + + while (*val && pfx > 0) { + char c = *val++ & 0xff; -- cgit v1.2.3