Permalink
Browse files

Add patch for harfbuzz bug 53815

  • Loading branch information...
1 parent 85b3614 commit 4814175c0eec82d2bd0d64cbc4e52c6e8287cfa9 @jralls committed Aug 19, 2012
Showing with 30 additions and 1 deletion.
  1. +3 −1 modulesets-unstable/gtk-osx.modules
  2. +27 −0 patches/0001-Bug-53815-CoreText-backend-doesn-t-link.patch
@@ -192,7 +192,9 @@
</autotools>
<autotools id="harfbuzz">
- <branch repo="freedesktop" module="harfbuzz"/>
+ <branch repo="freedesktop" module="harfbuzz">
+ <patch href="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-53815-CoreText-backend-doesn-t-link.patch"/>
+ </branch>
<dependencies>
<dep package="ragel"/>
</dependencies>
@@ -0,0 +1,27 @@
+From 10d95ad3de42acff2de958387c998cbeac9c0328 Mon Sep 17 00:00:00 2001
+From: John Ralls <jralls@ceridwen.us>
+Date: Sun, 19 Aug 2012 12:33:42 -0700
+Subject: [PATCH] [Bug 53815] CoreText backend doesn't link
+
+Link against the ApplicationServices framework to resolve the CoreText
+(and many other) symbols.
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 916a5d4..572738e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -198,7 +198,7 @@ dnl ===========================================================================
+ AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, have_coretext=true, have_coretext=false)
+ if $have_coretext; then
+ CORETEXT_CFLAGS=
+- CORETEXT_LIBS=
++ CORETEXT_LIBS="-framework ApplicationServices"
+ AC_SUBST(CORETEXT_CFLAGS)
+ AC_SUBST(CORETEXT_LIBS)
+ AC_DEFINE(HAVE_CORETEXT, 1, [Have Core Text backend])
+--
+1.7.6.1
+

0 comments on commit 4814175

Please sign in to comment.