aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/tkimg/tkimg-1.4-nojbig.patch22
-rw-r--r--libraries/tkimg/tkimg.SlackBuild5
2 files changed, 26 insertions, 1 deletions
diff --git a/libraries/tkimg/tkimg-1.4-nojbig.patch b/libraries/tkimg/tkimg-1.4-nojbig.patch
new file mode 100644
index 0000000000000..8ac8969cdcd02
--- /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 58b635a67e36b..85a93698f5fd6 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 \