mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/TiMidity++: Added a patch for tcl-tk-8.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
2451bc9804
commit
2fd7099e9b
2 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
13
audio/TiMidity++/timidity++-2.14.0-tcltk86.patch
Normal file
13
audio/TiMidity++/timidity++-2.14.0-tcltk86.patch
Normal 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)
|
Loading…
Reference in a new issue