audio/TiMidity++: Added a patch for tcl-tk-8.6.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-05-30 06:49:32 +02:00 committed by Robby Workman
parent 2451bc9804
commit 2fd7099e9b
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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)