From 2fd7099e9be28da1d4654802f485cb937fbf8048 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 30 May 2013 06:49:32 +0200 Subject: audio/TiMidity++: Added a patch for tcl-tk-8.6. Signed-off-by: Matteo Bernardini --- audio/TiMidity++/TiMidity++.SlackBuild | 5 ++++- audio/TiMidity++/timidity++-2.14.0-tcltk86.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 audio/TiMidity++/timidity++-2.14.0-tcltk86.patch (limited to 'audio') diff --git a/audio/TiMidity++/TiMidity++.SlackBuild b/audio/TiMidity++/TiMidity++.SlackBuild index fd9f813ca71b..e2b60568ca87 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 000000000000..ea2c0eec6c7d --- /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) -- cgit v1.2.3