pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/fonts/harfbuzz



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Sep 26 11:30:42 UTC 2016

Modified Files:
        pkgsrc/fonts/harfbuzz: distinfo
Added Files:
        pkgsrc/fonts/harfbuzz/patches: patch-src_hb-coretext.cc

Log Message:
Fix build on older Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/fonts/harfbuzz/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/fonts/harfbuzz/patches/patch-src_hb-coretext.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/harfbuzz/distinfo
diff -u pkgsrc/fonts/harfbuzz/distinfo:1.57 pkgsrc/fonts/harfbuzz/distinfo:1.58
--- pkgsrc/fonts/harfbuzz/distinfo:1.57 Mon Sep 12 07:34:41 2016
+++ pkgsrc/fonts/harfbuzz/distinfo      Mon Sep 26 11:30:42 2016
@@ -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

Added files:

Index: pkgsrc/fonts/harfbuzz/patches/patch-src_hb-coretext.cc
diff -u /dev/null pkgsrc/fonts/harfbuzz/patches/patch-src_hb-coretext.cc:1.1
--- /dev/null   Mon Sep 26 11:30:42 2016
+++ pkgsrc/fonts/harfbuzz/patches/patch-src_hb-coretext.cc      Mon Sep 26 11:30:42 2016
@@ -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