aboutsummaryrefslogtreecommitdiffstats
path: root/testing/webkitgtk2/harfbuzz.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-09-19 21:28:53 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-09-19 21:29:09 +0200
commit4cf4058c180ac24d16c0facc784aa88d19de6b8a (patch)
treebdcbf5302e523352eadbc64dee7d39f018995702 /testing/webkitgtk2/harfbuzz.patch
parent4505ac7a119675d3cc652c000546605cf48bf361 (diff)
downloadaports-4cf4058c180ac24d16c0facc784aa88d19de6b8a.tar.bz2
aports-4cf4058c180ac24d16c0facc784aa88d19de6b8a.tar.xz
testing/webkitgtk2: new aport
Diffstat (limited to 'testing/webkitgtk2/harfbuzz.patch')
-rw-r--r--testing/webkitgtk2/harfbuzz.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/webkitgtk2/harfbuzz.patch b/testing/webkitgtk2/harfbuzz.patch
new file mode 100644
index 0000000000..c334fe877f
--- /dev/null
+++ b/testing/webkitgtk2/harfbuzz.patch
@@ -0,0 +1,16 @@
+--- ./Source/autotools/FindDependencies.m4.orig 2013-06-10 12:31:46.700819390 +0000
++++ ./Source/autotools/FindDependencies.m4 2013-06-10 12:32:15.101112741 +0000
+@@ -373,6 +373,13 @@
+ PKG_CHECK_MODULES([FREETYPE],
+ [cairo-ft fontconfig >= fontconfig_required_version freetype2 >= freetype2_required_version harfbuzz >= harfbuzz_required_version])
+ fi
++# HarfBuzz 0.9.18 splits harbuzz-icu into a separate library.
++# Since we support earlier HarfBuzz versions we keep this conditional by now.
++if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz ; then
++ PKG_CHECK_MODULES(HARFBUZZ_ICU, harfbuzz-icu >= $harfbuzz_required_version)
++ FREETYPE_CFLAGS+=" $HARFBUZZ_ICU_CFLAGS"
++ FREETYPE_LIBS+=" $HARFBUZZ_ICU_LIBS"
++fi
+ AC_SUBST([FREETYPE_CFLAGS])
+ AC_SUBST([FREETYPE_LIBS])
+