summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-12-28 13:30:20 +0000
committerhubertf <hubertf@pkgsrc.org>2000-12-28 13:30:20 +0000
commite0200bed311cae8e7c2191676d2845d8e5414f7d (patch)
tree7981f7d8eeb15f42f68019ebaaf415c5e7c44a25 /mbone
parent8b650602a2d74589761ff4b87b275fd6611e03f5 (diff)
downloadpkgsrc-e0200bed311cae8e7c2191676d2845d8e5414f7d.tar.gz
There is one place where Tcl_Eval is called with a const value but the
manpage says it should be calles with a writable value. See PR 7611 by Michael Graff <explorer@flame.org> for a longer description. The patch was also sent back to the sdr maintainers.
Diffstat (limited to 'mbone')
-rw-r--r--mbone/sdr/files/patch-sum3
-rw-r--r--mbone/sdr/patches/patch-ae14
2 files changed, 16 insertions, 1 deletions
diff --git a/mbone/sdr/files/patch-sum b/mbone/sdr/files/patch-sum
index df57c62b980..f938bbb0d0c 100644
--- a/mbone/sdr/files/patch-sum
+++ b/mbone/sdr/files/patch-sum
@@ -1,6 +1,7 @@
-$NetBSD: patch-sum,v 1.8 2000/12/17 09:39:53 hubertf Exp $
+$NetBSD: patch-sum,v 1.9 2000/12/28 13:30:20 hubertf Exp $
MD5 (patch-aa) = 8448c8d91eef75ddf36d0ea76d9aa1a3
MD5 (patch-ab) = 498c3c2d4d62335721791851a8a7b8c2
MD5 (patch-ac) = bfcd00f286db2d5423e7870c8d24d607
MD5 (patch-ad) = c9d6f5b3248847609f212153e550d144
+MD5 (patch-ae) = d9f6e5692506d11c10375000279687cf
diff --git a/mbone/sdr/patches/patch-ae b/mbone/sdr/patches/patch-ae
new file mode 100644
index 00000000000..640cfe4d77a
--- /dev/null
+++ b/mbone/sdr/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.7 2000/12/28 13:30:21 hubertf Exp $
+
+--- ../src/ui_fns.c.orig Mon Sep 4 18:30:43 2000
++++ ../src/ui_fns.c
+@@ -274,7 +274,8 @@
+ u_int base;
+ char buf[128];
+
+- Tcl_Eval(interp, "clock format [clock seconds] -format %w");
++ sprintf(buf, "clock format [clock seconds] -format %w");
++ Tcl_Eval(interp, buf);
+ base = atoi(interp->result);
+ for(i=0;i<7;i++)
+ {