Skip to content

Instantly share code, notes, and snippets.

@SamB
Created August 7, 2012 22:07
Show Gist options
  • Save SamB/3289864 to your computer and use it in GitHub Desktop.
Save SamB/3289864 to your computer and use it in GitHub Desktop.
Patch to Qt 4.8.2's WebKit to allow it to build on Mac OS X/PPC32
--- qt-everywhere-opensource-src-4.8.2.orig/src/3rdparty/webkit/Source/WebCore/WebCore.pro 2012-08-07 17:03:00.000000000 -0400
+++ qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore/WebCore.pro 2012-08-07 16:26:37.000000000 -0400
@@ -2975,7 +2975,7 @@
platform/mac/WebWindowAnimation.mm
DEFINES+=NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
- contains(CONFIG, "x86") {
+ contains(CONFIG, "x86")|contains(CONFIG, "ppc") {
DEFINES+=NS_BUILD_32_LIKE_64
}
--- qt-everywhere-opensource-src-4.8.2.orig/src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro 2012-08-08 11:21:42.000000000 -0400
+++ qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro 2012-08-08 11:21:59.000000000 -0400
@@ -233,7 +233,7 @@
$$SOURCE_DIR/../WebKitLibraries/
DEFINES+=NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
- contains(CONFIG, "x86") {
+ contains(CONFIG, "x86")|contains(CONFIG, "ppc") {
DEFINES+=NS_BUILD_32_LIKE_64
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment