[gtk-osx] Patch harfbuzz for a const undeclared, though present, in Leopard.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Patch harfbuzz for a const undeclared, though present, in Leopard.
- Date: Fri, 19 Dec 2014 22:23:00 +0000 (UTC)
commit 0c7be2d5895d7dbf2709f30c24e3fb5fd1411447
Author: John Ralls <jralls ceridwen us>
Date: Fri Dec 19 14:21:47 2014 -0800
Patch harfbuzz for a const undeclared, though present, in Leopard.
modulesets-stable/gtk-osx-bootstrap.modules | 4 +++-
...esetterOptionForcedEmbeddingLevel-Leopard.patch | 13 +++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx-bootstrap.modules b/modulesets-stable/gtk-osx-bootstrap.modules
index 992ecc7..78dacd2 100644
--- a/modulesets-stable/gtk-osx-bootstrap.modules
+++ b/modulesets-stable/gtk-osx-bootstrap.modules
@@ -127,7 +127,9 @@
<autotools id="harfbuzz" autogen-sh="configure"
autogenargs="--with-coretext --with-freetype">
- <branch repo="harfbuzz" module="harfbuzz-0.9.35.tar.bz2" version="0.9.35"/>
+ <branch repo="harfbuzz" module="harfbuzz-0.9.35.tar.bz2" version="0.9.35">
+ <patch
file="http://git.gnome.org/browse/gtk-osx/plain/patches/harfbuzz-kCTTypesetterOptionForcedEmbeddingLevel-Leopard.patch"
strip="1"/>
+
<dependencies>
<dep package="freetype-no-harfbuzz"/>
<dep package="glib"/>
diff --git a/patches/harfbuzz-kCTTypesetterOptionForcedEmbeddingLevel-Leopard.patch
b/patches/harfbuzz-kCTTypesetterOptionForcedEmbeddingLevel-Leopard.patch
new file mode 100644
index 0000000..d462307
--- /dev/null
+++ b/patches/harfbuzz-kCTTypesetterOptionForcedEmbeddingLevel-Leopard.patch
@@ -0,0 +1,13 @@
+--- a/src/hb-coretext.cc Wed Aug 13 09:43:34 2014
++++ b/src/hb-coretext.cc Tue Dec 9 15:10:26 2014
+@@ -749,6 +749,8 @@
+
+ int level = HB_DIRECTION_IS_FORWARD (buffer->props.direction) ? 0 : 1;
+ CFNumberRef level_number = CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &level);
++/* Marked as available in version 10.5 and later, but not in the header until SDK 10.6 */
++ extern const CFStringRef kCTTypesetterOptionForcedEmbeddingLevel;
+ CFDictionaryRef options = CFDictionaryCreate (kCFAllocatorDefault,
+ (const void **) &kCTTypesetterOptionForcedEmbeddingLevel,
+ (const void **) &level_number,
+
+Diff finished. Mon Dec 15 16:56:50 2014
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]