summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authoradam <adam>2015-11-23 20:02:15 +0000
committeradam <adam>2015-11-23 20:02:15 +0000
commitc595d84049ae5c66814b9c8c39244cf4ea336de8 (patch)
tree15f5898b60b92ae3b6d8472ea012c2d06b9cad16 /fonts
parent9109bd8e9f8da9f14033f52a6696968cfa1ad1df (diff)
downloadpkgsrc-c595d84049ae5c66814b9c8c39244cf4ea336de8.tar.gz
Fix building on OS X
Diffstat (limited to 'fonts')
-rw-r--r--fonts/harfbuzz/distinfo3
-rw-r--r--fonts/harfbuzz/patches/patch-src_hb-coretext.h19
2 files changed, 21 insertions, 1 deletions
diff --git a/fonts/harfbuzz/distinfo b/fonts/harfbuzz/distinfo
index 23ccc810f47..282618e1b34 100644
--- a/fonts/harfbuzz/distinfo
+++ b/fonts/harfbuzz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.45 2015/11/22 23:33:13 wiz Exp $
+$NetBSD: distinfo,v 1.46 2015/11/23 20:02:15 adam Exp $
SHA1 (harfbuzz-1.1.0.tar.bz2) = de3af3a17a37641dc266296c2bd29049785338bf
RMD160 (harfbuzz-1.1.0.tar.bz2) = a333a0cb4fad1db481b09484f37a166e0b35f802
SHA512 (harfbuzz-1.1.0.tar.bz2) = 64ee51f50bd567c4b94082d6ca50d2b5ed91b030150d1df1e24c97601a62d1dcf5aff69036bdf490a2a2ad4241c791bf19fc5d47ab4fd5a05b0bb89ac5890d6e
Size (harfbuzz-1.1.0.tar.bz2) = 1255422 bytes
+SHA1 (patch-src_hb-coretext.h) = 7a88149a6bc932b08871f8393ce2b2768513704c
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..9afa63bb770
--- /dev/null
+++ b/fonts/harfbuzz/patches/patch-src_hb-coretext.h
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_hb-coretext.h,v 1.3 2015/11/23 20:02:15 adam Exp $
+
+Fix building on OS X.
+
+--- src/hb-coretext.h.orig 2015-11-23 19:57:54.000000000 +0000
++++ src/hb-coretext.h
+@@ -30,12 +30,8 @@
+ #include "hb.h"
+
+ #include <TargetConditionals.h>
+-#if TARGET_OS_IPHONE
+ # include <CoreText/CoreText.h>
+ # include <CoreGraphics/CoreGraphics.h>
+-#else
+-# include <ApplicationServices/ApplicationServices.h>
+-#endif
+
+ HB_BEGIN_DECLS
+