[gtk-osx] Add patch for harfbuzz bug 53815



commit 4814175c0eec82d2bd0d64cbc4e52c6e8287cfa9
Author: John Ralls <jralls ceridwen us>
Date:   Sun Aug 19 15:38:20 2012 -0700

    Add patch for harfbuzz bug 53815

 modulesets-unstable/gtk-osx.modules                |    4 ++-
 ...1-Bug-53815-CoreText-backend-doesn-t-link.patch |   27 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/modulesets-unstable/gtk-osx.modules b/modulesets-unstable/gtk-osx.modules
index 724718e..94a1c30 100644
--- a/modulesets-unstable/gtk-osx.modules
+++ b/modulesets-unstable/gtk-osx.modules
@@ -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>
diff --git a/patches/0001-Bug-53815-CoreText-backend-doesn-t-link.patch b/patches/0001-Bug-53815-CoreText-backend-doesn-t-link.patch
new file mode 100644
index 0000000..47fa17f
--- /dev/null
+++ b/patches/0001-Bug-53815-CoreText-backend-doesn-t-link.patch
@@ -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
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]