diff options
author | hubertf <hubertf> | 2000-12-28 13:30:20 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-12-28 13:30:20 +0000 |
commit | 3798d8b587a291eb57b78dc6def51b6cf0b523a3 (patch) | |
tree | 7981f7d8eeb15f42f68019ebaaf415c5e7c44a25 | |
parent | 7dd4b03c4d831af444bbee46e248feef04e17be0 (diff) | |
download | pkgsrc-3798d8b587a291eb57b78dc6def51b6cf0b523a3.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.
-rw-r--r-- | mbone/sdr/files/patch-sum | 3 | ||||
-rw-r--r-- | mbone/sdr/patches/patch-ae | 14 |
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++) + { |