[Libreoffice-commits] .: pango/pango-1.28.3.patch

Tor Lillqvist tml at kemper.freedesktop.org
Mon Oct 3 05:08:24 PDT 2011


 pango/pango-1.28.3.patch |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

New commits:
commit a3414f43cf067d017380a950f69f681557d82151
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Oct 3 15:06:00 2011 +0300

    Fix build against the MacOSX 10.6 SDK but with 10.4 as the highest used API

diff --git a/pango/pango-1.28.3.patch b/pango/pango-1.28.3.patch
index 45ce441..539bef7 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
++ at class CALayer;
++ at 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
++ at class CALayer;
++ at class NSViewController;
++typedef int NSColorRenderingIntent;
++#endif
++
+ #import <Cocoa/Cocoa.h>
+ 
+ #include "pango-impl-utils.h"


More information about the Libreoffice-commits mailing list