From 668f21decd19ba861c5b367b13c9d74a44723dce Mon Sep 17 00:00:00 2001 From: Richard Ellis Date: Mon, 19 Aug 2024 14:17:04 +0700 Subject: libraries/tkimg: Fix build failure. Signed-off-by: Willy Sudiarto Raharjo --- libraries/tkimg/tkimg.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild index aa9a1318c5cce..0e55fd2a13363 100644 --- a/libraries/tkimg/tkimg.SlackBuild +++ b/libraries/tkimg/tkimg.SlackBuild @@ -81,6 +81,12 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make distclean +# Disable JBIG support (if left enabled then the build will fail with a +# link error for JBIG iff the Slackbuilds jbigkit is already installed +# before building tkimg). Note that the result is no JBIG support, but +# there is no JBIG support from a normal build of tkimg if jbigkit is +# not preinstalled. sed command courtesy of B. Watson +sed -i 's,--disable-pixarlog,& --disable-jbig,' libtiff/configure CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3