pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz Fix build on older Darwin.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7f6ca03be82a
branches: trunk
changeset: 353067:7f6ca03be82a
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Sep 26 11:30:42 2016 +0000
description:
Fix build on older Darwin.
diffstat:
fonts/harfbuzz/distinfo | 3 ++-
fonts/harfbuzz/patches/patch-src_hb-coretext.cc | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r a456eef6532b -r 7f6ca03be82a fonts/harfbuzz/distinfo
--- a/fonts/harfbuzz/distinfo Mon Sep 26 07:06:11 2016 +0000
+++ b/fonts/harfbuzz/distinfo Mon Sep 26 11:30:42 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.57 2016/09/12 07:34:41 wiz Exp $
+$NetBSD: distinfo,v 1.58 2016/09/26 11:30:42 jperkin Exp $
SHA1 (harfbuzz-1.3.1.tar.bz2) = a90aea57f268b6b4a0ecb92b9ed0a987ebd0df9e
RMD160 (harfbuzz-1.3.1.tar.bz2) = 97ab46b367214cba41b66e18e52aa57142e4822a
SHA512 (harfbuzz-1.3.1.tar.bz2) = 7c2dbd1cc3c77646fd7627c4db9ac1a5781fb4babe8a92b276b2f2170f82d7075632253c7498c27735c5aa7331ee22d41e24c3a8cfa07adc2461ece1e36334b9
Size (harfbuzz-1.3.1.tar.bz2) = 1358437 bytes
+SHA1 (patch-src_hb-coretext.cc) = 29c95fbbb424a035f74294809ea8a3359e9d93ae
diff -r a456eef6532b -r 7f6ca03be82a fonts/harfbuzz/patches/patch-src_hb-coretext.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/patches/patch-src_hb-coretext.cc Mon Sep 26 11:30:42 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_hb-coretext.cc,v 1.1 2016/09/26 11:30:42 jperkin Exp $
+
+Provide compatibility define for older SDKs.
+
+--- src/hb-coretext.cc.orig 2016-09-07 20:57:11.000000000 +0000
++++ src/hb-coretext.cc
+@@ -152,6 +152,9 @@ create_ct_font (CGFontRef cg_font, CGFlo
+ * operating system versions. Except for the emoji font, where _not_
+ * reconfiguring the cascade list causes CoreText crashes. For details, see
+ * crbug.com/549610 */
++#ifndef kCTVersionNumber10_10
++#define kCTVersionNumber10_10 0x00070000
++#endif
+ if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() < kCTVersionNumber10_10) {
+ CFStringRef fontName = CTFontCopyPostScriptName (ct_font);
+ bool isEmojiFont = CFStringCompare (fontName, CFSTR("AppleColorEmoji"), 0) == kCFCompareEqualTo;
Home |
Main Index |
Thread Index |
Old Index