mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 01:19:41 +01:00
Remove unuseful patch: * 0001-make-ghostscript-work-with-long-building-directory.patch Port applicable patches: * ghostscript-9.02-genarch.patch * ghostscript-9.02-parallel-make.patch * ghostscript-9.02-prevent_recompiling.patch * ghostscript-9.05-NOT-check-endian.patch * ghostscript-native-fix-disable-system-libtiff.patch (From OE-Core rev: aea8f29275fd7c2341c429b46c25e17afe532b3e) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
51 lines
1.4 KiB
Diff
51 lines
1.4 KiB
Diff
ghostscript-native:fix disable-system-libtiff
|
|
|
|
Modify configure to add the check to make sure
|
|
ghostscrip could work while system-libtiff is
|
|
disabled.
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Upstream-Status: Pending
|
|
---
|
|
diff --git a/base/configure.ac b/base/configure.ac
|
|
index bb05105..4b817ac 100644
|
|
--- a/base/configure.ac
|
|
+++ b/base/configure.ac
|
|
@@ -951,17 +951,22 @@
|
|
esac
|
|
|
|
if test $SHARE_LIBTIFF -eq 0; then
|
|
- echo
|
|
- echo "Running libtiff configure script..."
|
|
- olddir=`pwd`
|
|
- cd "$LIBTIFFDIR" && ./configure --disable-jbig --disable-lzma $SUBCONFIG_OPTS
|
|
- status=$?
|
|
- if test "$status" -ne 0 ; then
|
|
- AC_MSG_ERROR([libtiff configure script failed], $status)
|
|
- fi
|
|
- cd "$olddir"
|
|
- echo
|
|
- echo "Continuing with Ghostscript configuration..."
|
|
+ if test -e $LIBTIFFDIR/configure; then
|
|
+ echo
|
|
+ echo "Running libtiff configure script..."
|
|
+ olddir=`pwd`
|
|
+ cd "$LIBTIFFDIR" && ./configure --disable-jbig --disable-lzma $SUBCONFIG_OPTS
|
|
+ status=$?
|
|
+ if test "$status" -ne 0 ; then
|
|
+ AC_MSG_ERROR([libtiff configure script failed], $status)
|
|
+ fi
|
|
+ cd "$olddir"
|
|
+ echo
|
|
+ echo "Continuing with Ghostscript configuration..."
|
|
+ else
|
|
+ AC_MSG_NOTICE([Could not find local copy of libtiff.
|
|
+Disabling tiff output devices.])
|
|
+ fi
|
|
fi
|
|
|
|
AC_SUBST(SHARE_LIBTIFF)
|
|
--
|
|
1.7.10.4
|
|
|