aboutsummaryrefslogtreecommitdiff
path: root/audio/TiMidity++
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-05-30 06:49:32 +0200
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:52:45 -0600
commit2fd7099e9be28da1d4654802f485cb937fbf8048 (patch)
tree1d325600d3a29a2a3a71a1c29ce1a51bf1916e2c /audio/TiMidity++
parent2451bc9804ff185ca652c8b79d4a3346cbd4c2d0 (diff)
audio/TiMidity++: Added a patch for tcl-tk-8.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/TiMidity++')
-rw-r--r--audio/TiMidity++/TiMidity++.SlackBuild5
-rw-r--r--audio/TiMidity++/timidity++-2.14.0-tcltk86.patch13
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/TiMidity++/TiMidity++.SlackBuild b/audio/TiMidity++/TiMidity++.SlackBuild
index fd9f813ca71bd..e2b60568ca87c 100644
--- a/audio/TiMidity++/TiMidity++.SlackBuild
+++ b/audio/TiMidity++/TiMidity++.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=TiMidity++
VERSION=2.14.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -83,6 +83,9 @@ for patch in $CWD/patches/* ; do
patch -p1 < $patch
done
+# Another patch from Gentoo (thanks) for tcl-tk-8.6
+patch -p0 < $CWD/timidity++-2.14.0-tcltk86.patch
+
# Regenerate files for automake/autoconf.
# Required for --docdir
autoreconf
diff --git a/audio/TiMidity++/timidity++-2.14.0-tcltk86.patch b/audio/TiMidity++/timidity++-2.14.0-tcltk86.patch
new file mode 100644
index 0000000000000..ea2c0eec6c7dd
--- /dev/null
+++ b/audio/TiMidity++/timidity++-2.14.0-tcltk86.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/451296
+
+--- interface/tk_c.c
++++ interface/tk_c.c
+@@ -913,7 +913,7 @@
+ vsnprintf(buf, sizeof(buf), fmt, ap);
+ Tcl_Eval(my_interp, buf);
+ va_end(ap);
+- return my_interp->result;
++ return Tcl_GetStringResult(my_interp);
+ }
+
+ static const char *v_get2(const char *v1, const char *v2)