summaryrefslogtreecommitdiff
path: root/net/tcl-scotty
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2001-01-24 18:49:55 +0000
committerhe <he@pkgsrc.org>2001-01-24 18:49:55 +0000
commita5ab040e62271f9cb3a832d5b47a3c48a28099cc (patch)
tree278e49ec6c96a9cd56b0c66c86c6e4432dcc6a6f /net/tcl-scotty
parent2ebee492639e27457a0f6b4ec922478d877e6b09 (diff)
downloadpkgsrc-a5ab040e62271f9cb3a832d5b47a3c48a28099cc.tar.gz
Redo the patch to tnmInit.c so that we don't test a now-uninitialized
variable (caused by other parts of that patch). This lead to precompiled MIB files being installed in "unknown-os" instead of in "${MACHINE_ARCH}-${OPSYS}" when scotty was compiled with optimization (which is the default), and subsequent mismatch between installed files and PLIST.
Diffstat (limited to 'net/tcl-scotty')
-rw-r--r--net/tcl-scotty/files/patch-sum4
-rw-r--r--net/tcl-scotty/patches/patch-ad10
2 files changed, 8 insertions, 6 deletions
diff --git a/net/tcl-scotty/files/patch-sum b/net/tcl-scotty/files/patch-sum
index 0f6eec16085..441e4010c35 100644
--- a/net/tcl-scotty/files/patch-sum
+++ b/net/tcl-scotty/files/patch-sum
@@ -1,7 +1,7 @@
-$NetBSD: patch-sum,v 1.3 2000/10/13 18:59:30 jwise Exp $
+$NetBSD: patch-sum,v 1.4 2001/01/24 18:49:55 he Exp $
MD5 (patch-aa) = 0609f277cf042b83dcd88f71cee32cb9
MD5 (patch-ab) = 208030196224c8d778a0fd7b85c7c3dd
MD5 (patch-ac) = 7b8b4aa176cb87ef9ef2d08399f5ca9f
-MD5 (patch-ad) = d94ffd64f935a5e4531324d8c0d00050
+MD5 (patch-ad) = 800a9c3a8d346b75863bc6df2c7b26cb
MD5 (patch-ae) = 013d7afc29800fb604a6ea6a1510bc5e
diff --git a/net/tcl-scotty/patches/patch-ad b/net/tcl-scotty/patches/patch-ad
index eae691c4491..1d7c95626fe 100644
--- a/net/tcl-scotty/patches/patch-ad
+++ b/net/tcl-scotty/patches/patch-ad
@@ -1,6 +1,7 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/09/07 17:38:46 jwise Exp $
---- ../tnm/generic/tnmInit.c.orig Thu Sep 7 09:52:58 2000
-+++ ../tnm/generic/tnmInit.c Thu Sep 7 09:53:14 2000
+$NetBSD: patch-ad,v 1.2 2001/01/24 18:49:56 he Exp $
+
+--- ../tnm/generic/tnmInit.c.orig Mon Jan 26 16:35:26 1998
++++ ../tnm/generic/tnmInit.c Wed Jan 24 19:09:20 2001
@@ -83,15 +83,12 @@
machine = Tcl_GetVar2(interp, "tcl_platform", "machine", TCL_GLOBAL_ONLY);
@@ -8,7 +9,8 @@ $NetBSD: patch-ad,v 1.1.1.1 2000/09/07 17:38:46 jwise Exp $
- vers = Tcl_GetVar2(interp, "tcl_platform", "osVersion", TCL_GLOBAL_ONLY);
Tcl_DStringInit(&arch);
- if (machine && os && vers) {
+- if (machine && os && vers) {
++ if (machine && os) {
Tcl_DStringAppend(&arch, machine, -1);
Tcl_DStringAppend(&arch, "-", 1);
Tcl_DStringAppend(&arch, os, -1);