[vlc-commits] Contribs: fix harfbuzz tests build for ios/tvos

André Silva git at videolan.org
Thu Apr 13 17:30:08 CEST 2017


vlc | branch: master | André Silva <andre.silva at xpand-it.com> | Wed Apr 12 14:32:04 2017 +0200| [c203ac563d1157531f97e4c1640bafaab29b192d] | committer: Jean-Baptiste Kempf

Contribs: fix harfbuzz tests build for ios/tvos

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c203ac563d1157531f97e4c1640bafaab29b192d
---

 contrib/src/harfbuzz/harfbuzz-coretext.patch | 12 ++++++++++++
 contrib/src/harfbuzz/rules.mak               |  1 +
 2 files changed, 13 insertions(+)

diff --git a/contrib/src/harfbuzz/harfbuzz-coretext.patch b/contrib/src/harfbuzz/harfbuzz-coretext.patch
new file mode 100644
index 0000000000..15b39c4789
--- /dev/null
+++ b/contrib/src/harfbuzz/harfbuzz-coretext.patch
@@ -0,0 +1,12 @@
+diff -ru harfbuzz/configure.ac harfbuzz/configure.ac
+--- harfbuzz/configure.ac	2017-04-11 19:36:57.000000000 +0200
++++ harfbuzz/configure.ac	2017-04-12 10:05:34.000000000 +0200
+@@ -419,7 +419,7 @@
+ 
+ 		if $have_coretext; then
+ 			CORETEXT_CFLAGS=
+-			CORETEXT_LIBS="-framework CoreText -framework CoreGraphics"
++			CORETEXT_LIBS="-framework CoreText -framework CoreGraphics -framework CoreFoundation"
+ 			AC_SUBST(CORETEXT_CFLAGS)
+ 			AC_SUBST(CORETEXT_LIBS)
+ 		fi
\ No newline at end of file
diff --git a/contrib/src/harfbuzz/rules.mak b/contrib/src/harfbuzz/rules.mak
index 9eea552200..b37cdef99b 100644
--- a/contrib/src/harfbuzz/rules.mak
+++ b/contrib/src/harfbuzz/rules.mak
@@ -23,6 +23,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/harfbuzz-coretext.patch
 	$(MOVE)
 
 DEPS_harfbuzz = freetype2 $(DEPS_freetype2)



More information about the vlc-commits mailing list