summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authortron <tron>2014-05-05 10:27:28 +0000
committertron <tron>2014-05-05 10:27:28 +0000
commit8e3f06dd41b03ce34e846a9b2a90cba42e1a9fd3 (patch)
treea493626d84e25dbcd399055fb3649daa86f8a363 /fonts
parenta6685dae193d646f6161d55f65a4c4c67232098a (diff)
downloadpkgsrc-8e3f06dd41b03ce34e846a9b2a90cba42e1a9fd3.tar.gz
Fix build under Mac OS X.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/harfbuzz/distinfo3
-rw-r--r--fonts/harfbuzz/patches/patch-src_hb-coretext.h17
2 files changed, 19 insertions, 1 deletions
diff --git a/fonts/harfbuzz/distinfo b/fonts/harfbuzz/distinfo
index eb9499f24e9..248567fdb43 100644
--- a/fonts/harfbuzz/distinfo
+++ b/fonts/harfbuzz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.23 2014/05/04 16:58:45 wiz Exp $
+$NetBSD: distinfo,v 1.24 2014/05/05 10:27:28 tron Exp $
SHA1 (harfbuzz-0.9.28.tar.bz2) = e2704c0b1b76a82fb8b5c9b354526733629ee616
RMD160 (harfbuzz-0.9.28.tar.bz2) = 5d98717a86d2a7c77f0833f32324e8e7e9a99b32
Size (harfbuzz-0.9.28.tar.bz2) = 1063769 bytes
+SHA1 (patch-src_hb-coretext.h) = 67ab91fefbac3fe8e65a3d71ecb5dd5f9473df04
SHA1 (patch-src_hb-open-type-private.hh) = 876f1afdf2c7babb4cd3c2b9c9e4635167ad1021
diff --git a/fonts/harfbuzz/patches/patch-src_hb-coretext.h b/fonts/harfbuzz/patches/patch-src_hb-coretext.h
new file mode 100644
index 00000000000..c00134c5d99
--- /dev/null
+++ b/fonts/harfbuzz/patches/patch-src_hb-coretext.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_hb-coretext.h,v 1.1 2014/05/05 10:27:28 tron Exp $
+
+Fix build under Mac OS X:
+
+https://bugs.freedesktop.org/show_bug.cgi?id=78291
+
+--- src/hb-coretext.h.orig 2014-03-21 17:29:34.000000000 +0000
++++ src/hb-coretext.h 2014-05-05 11:15:26.000000000 +0100
+@@ -30,7 +30,7 @@
+ #include "hb.h"
+
+ #include <TargetConditionals.h>
+-#if defined(TARGET_OS_IPHONE)
++#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
+ # include <CoreText/CoreText.h>
+ # include <CoreGraphics/CoreGraphics.h>
+ #else