summaryrefslogtreecommitdiff
path: root/audio/TiMidity++
diff options
context:
space:
mode:
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 fd9f813ca7..e2b60568ca 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 0000000000..ea2c0eec6c
--- /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)