From 32f1e178d6c327765d2ddc956bff9d4a36c68729 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 25 Sep 2012 13:11:48 -0500 Subject: libraries/tkimg: Fixed linking of the included libtiff Thanks to Gentoo for the patch. Signed-off-by: Robby Workman --- libraries/tkimg/tkimg-1.4-nojbig.patch | 22 ++++++++++++++++++++++ libraries/tkimg/tkimg.SlackBuild | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 libraries/tkimg/tkimg-1.4-nojbig.patch diff --git a/libraries/tkimg/tkimg-1.4-nojbig.patch b/libraries/tkimg/tkimg-1.4-nojbig.patch new file mode 100644 index 0000000000..8ac8969cdc --- /dev/null +++ b/libraries/tkimg/tkimg-1.4-nojbig.patch @@ -0,0 +1,22 @@ +--- tkimg1.4/libtiff/configure.in 2010-07-06 15:48:46.000000000 +0200 ++++ tkimg1.4.new/libtiff/configure.in 2011-02-28 23:24:18.471259943 +0100 +@@ -67,7 +67,7 @@ + else + TIFFHOST="$host" + fi +-${srcdir}/../compat/libtiff/configure --disable-zlib --disable-pixarlog --disable-jpeg \ ++${srcdir}/../compat/libtiff/configure --disable-zlib --disable-pixarlog --disable-jpeg --disable-jbig \ + "--with-CC=$TIFFCC" $TIFFHOST + mv -f tifftcl_confdefs.h confdefs.h + +--- tkimg1.4/libtiff/configure 2010-07-07 10:09:46.000000000 +0200 ++++ tkimg1.4.new/libtiff/configure 2011-02-28 23:25:53.529824614 +0100 +@@ -5133,7 +5133,7 @@ + else + TIFFHOST="$host" + fi +-${srcdir}/../compat/libtiff/configure --disable-zlib --disable-pixarlog --disable-jpeg \ ++${srcdir}/../compat/libtiff/configure --disable-zlib --disable-pixarlog --disable-jpeg --disable-jbig \ + "--with-CC=$TIFFCC" $TIFFHOST + mv -f tifftcl_confdefs.h confdefs.h + diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild index 58b635a67e..85a93698f5 100644 --- a/libraries/tkimg/tkimg.SlackBuild +++ b/libraries/tkimg/tkimg.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=tkimg VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# https://bugs.gentoo.org/show_bug.cgi?id=356907 +patch -p1 < $CWD/tkimg-1.4-nojbig.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3