shithub: freetype+ttf2subf

Download patch

ref: c9a9cf59159e65c43843f4a2e5966ff486058ace
parent: 2c2e6403b7c16cd1e3b20d18acdc935898eee040
author: Werner Lemberg <[email protected]>
date: Sat Jun 3 05:41:50 EDT 2017

* builds/unix/freetype-config.in: Fix pkg-config test (#51162).

Patch directly taken from bug report.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-06-03  Werner Lemberg  <[email protected]>
 
+	* builds/unix/freetype-config.in: Fix pkg-config test (#51162).
+
+	Patch directly taken from bug report.
+
+2017-06-03  Werner Lemberg  <[email protected]>
+
 	[bdf] Synchronize sanity checks with pcf driver.
 
 	Reported as
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -14,7 +14,7 @@
 
 
 # if `pkg-config' is available, use values from `freetype2.pc'
-pkg-config --version >/dev/null 2>&1
+pkg-config --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
 if test $? -eq 0 ; then
   # note that option `--variable' is not affected by the
   # PKG_CONFIG_SYSROOT_DIR environment variable