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