summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch
new file mode 100644
index 0000000000..bff3e61763
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch
@@ -0,0 +1,37 @@
1ghostscript-native:fix disable-system-libtiff
2
3Modify configure to add the check to make sure
4ghostscrip could work while system-libtiff is
5disabled.
6
7Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8
9Updated to apply to ghostscript 9.21.
10
11Signed-off-by: Joe Slater <joe.slater@windriver.com>
12
13Upstream-Status: Pending
14
15
16
17--- a/configure.ac
18+++ b/configure.ac
19@@ -1259,6 +1259,7 @@ case "x$with_system_libtiff" in
20 esac
21
22 if test x"$SHARE_LIBTIFF" = x"0" ; then
23+ if test -e $LIBTIFFDIR/configure; then
24 echo "Running libtiff configure script..."
25 olddir=`pwd`
26 if ! test -d "$LIBTIFFCONFDIR" ; then
27@@ -1272,6 +1273,10 @@ if test x"$SHARE_LIBTIFF" = x"0" ; then
28 cd "$olddir"
29 echo
30 echo "Continuing with Ghostscript configuration..."
31+ else
32+ AC_MSG_NOTICE([Could not find local copy of libtiff.
33+Disabling tiff output devices.])
34+ fi
35 fi
36
37 AC_SUBST(SHARE_LIBTIFF)