diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-10-03 15:06:00 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-10-03 15:07:46 +0300 |
commit | a3414f43cf067d017380a950f69f681557d82151 (patch) | |
tree | c0eb4b1005e517edaef9c8d5c7340ee00d5a0214 /pango | |
parent | d1420b9235649af5cbba8f515c69afc362e09b1c (diff) |
Fix build against the MacOSX 10.6 SDK but with 10.4 as the highest used API
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-1.28.3.patch | 30 |
1 files changed, 30 insertions, 0 deletions
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 <Cocoa/Cocoa.h> + + 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 <Cocoa/Cocoa.h> + + #include "pango-impl-utils.h" |