From a3414f43cf067d017380a950f69f681557d82151 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 3 Oct 2011 15:06:00 +0300 Subject: Fix build against the MacOSX 10.6 SDK but with 10.4 as the highest used API --- pango/pango-1.28.3.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'pango') diff --git a/pango/pango-1.28.3.patch b/pango/pango-1.28.3.patch index 45ce441dfcbd..539bef79a035 100644 --- a/pango/pango-1.28.3.patch +++ b/pango/pango-1.28.3.patch @@ -63,3 +63,33 @@ # # Checks for LibThai +--- misc/pango-1.28.3/pango/pangoatsui-fontmap.c ++++ misc/build/pango-1.28.3/pango/pangoatsui-fontmap.c +@@ -27,6 +27,12 @@ + #include "pango-impl-utils.h" + #include "modules.h" + ++#if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 ++@class CALayer; ++@class NSViewController; ++typedef int NSColorRenderingIntent; ++#endif ++ + #import + + typedef struct _FontHashKey FontHashKey; +--- misc/pango-1.28.3/pango/pangocairo-atsuifont.c ++++ misc/build/pango-1.28.3/pango/pangocairo-atsuifont.c +@@ -22,6 +22,12 @@ + + #include "config.h" + ++#if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 ++@class CALayer; ++@class NSViewController; ++typedef int NSColorRenderingIntent; ++#endif ++ + #import + + #include "pango-impl-utils.h" -- cgit