diff options
Diffstat (limited to 'libre/ghostscript/fix_check_for_using_shared_freetype_lib.diff')
-rw-r--r-- | libre/ghostscript/fix_check_for_using_shared_freetype_lib.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libre/ghostscript/fix_check_for_using_shared_freetype_lib.diff b/libre/ghostscript/fix_check_for_using_shared_freetype_lib.diff new file mode 100644 index 000000000..b5b7b9bae --- /dev/null +++ b/libre/ghostscript/fix_check_for_using_shared_freetype_lib.diff @@ -0,0 +1,30 @@ +From 8f5d28536e4518716fdfe974e580194c8f57871d Mon Sep 17 00:00:00 2001 +From: Chris Liddell <chris.liddell@artifex.com> +Date: Thu, 7 Jan 2016 09:03:10 +0000 +Subject: [PATCH] Bug 696281: fix check for using shared freetype lib + +When I changed the initial value of the Freetype source path variable (to reduce +the risk of header search path problems), I neglected to fix the logic for +falling back to the system's libfreetype2. + +Credit to Rodrigo Rivas Costa for spotting the problem. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0c97fcc..f533e46 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -811,7 +811,7 @@ if test x"$enable_fapi" != xno; then + fi + done + +- if test -z $FTSRCDIR; then ++ if test x"$FTSRCDIR" = x"src"; then + AC_MSG_RESULT([no]) + if test "x$PKGCONFIG" != x; then + AC_MSG_CHECKING(for system freetype2 >= 2.4.2 with pkg-config) +-- +2.6.3 + |