]> git.sesse.net Git - vlc/commitdiff
Contrib: Disable HarfBuzz non-native backends
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 19 Dec 2014 12:22:55 +0000 (13:22 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 19 Dec 2014 12:51:44 +0000 (13:51 +0100)
contrib/src/harfbuzz/disable-backends.patch [new file with mode: 0644]
contrib/src/harfbuzz/rules.mak

diff --git a/contrib/src/harfbuzz/disable-backends.patch b/contrib/src/harfbuzz/disable-backends.patch
new file mode 100644 (file)
index 0000000..69ba6b7
--- /dev/null
@@ -0,0 +1,29 @@
+--- harfbuzz-0.9.5/configure.ac.orig   2012-10-18 15:58:56.940962618 +0200
++++ harfbuzz-0.9.5/configure.ac        2012-10-18 15:59:24.348963620 +0200
+@@ -117,7 +117,7 @@
+ dnl ===========================================================================
+-have_hb_old=true
++have_hb_old=false
+ if $have_hb_old; then
+       AC_DEFINE(HAVE_HB_OLD, 1, [Have Old HarfBuzz backend])
+ fi
+@@ -208,7 +208,7 @@
+ dnl ===========================================================================
+-AC_CHECK_HEADERS(usp10.h windows.h, have_uniscribe=true, have_uniscribe=false)
++have_uniscribe=false
+ if $have_uniscribe; then
+       UNISCRIBE_CFLAGS=
+       UNISCRIBE_LIBS="-lusp10 -lgdi32"
+@@ -220,7 +220,7 @@
+ dnl ===========================================================================
+-AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, have_coretext=true, have_coretext=false)
++have_coretext=false
+ if $have_coretext; then
+       CORETEXT_CFLAGS=
+       CORETEXT_LIBS="-framework ApplicationServices"
index e9ea233ea7c363f734fd8e392792b131409827ea..27149d439074ab6c168b605473bc71ab232a41bb 100644 (file)
@@ -17,6 +17,7 @@ harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
        $(UPDATE_AUTOCONFIG)
        $(APPLY) $(SRC)/harfbuzz/harfbuzz-aarch64.patch
        $(APPLY) $(SRC)/harfbuzz/harfbuzz-clang.patch
+       $(APPLY) $(SRC)/harfbuzz/disable-backends.patch
        $(MOVE)
 
 DEPS_harfbuzz = freetype2 $(DEPS_freetype2)