diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-06-05 23:22:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-06-06 14:05:23 +0200 |
commit | 39ec7832d165d81385b340bc6c0ca9cf5f194eb5 (patch) | |
tree | 6a8e4f737e59c35304b06c36bcb0bfef26a5784f /moz/patches | |
parent | be733676d3d9c1e376066301f5e5b1849608d4d8 (diff) |
Adapt to --with-macosx-version-min-required=10.6 and Xcode 4
...signature of TransitionWindowWithOptions apparently changed slightly in 10.6,
and /Developer/Tools/Rez can more reliably be found in /usr/bin.
Change-Id: Iba55478f3b6de1b4695b686095f4aa0bc0af8e7b
Diffstat (limited to 'moz/patches')
-rw-r--r-- | moz/patches/seamonkey-1.1.14.source-macosx10.6and7.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/moz/patches/seamonkey-1.1.14.source-macosx10.6and7.patch b/moz/patches/seamonkey-1.1.14.source-macosx10.6and7.patch new file mode 100644 index 000000000000..e74c4e46c381 --- /dev/null +++ b/moz/patches/seamonkey-1.1.14.source-macosx10.6and7.patch @@ -0,0 +1,33 @@ +--- misc/mozilla/widget/src/mac/Makefile.in 2006-08-04 20:52:25.000000000 +0200 ++++ misc/build/mozilla/widget/src/mac/Makefile.in 2012-06-04 23:26:18.000000000 +0200 +@@ -130,7 +130,7 @@ + RES_SRC = $(srcdir)/nsMacWidget.r + + $(RES_DEST): $(RES_SRC) +- /Developer/Tools/Rez -i /Developer/Headers/FlatCarbon -useDF $(RES_SRC) -o $(RES_DEST) ++ Rez -i $(MACOS_SDK_DIR)/Developer/Headers/FlatCarbon -useDF $(RES_SRC) -o $(RES_DEST) + + libs:: $(RES_DEST) + +--- misc/mozilla/widget/src/mac/nsMacWindow.cpp 2007-11-19 21:40:08.000000000 +0100 ++++ misc/build/mozilla/widget/src/mac/nsMacWindow.cpp 2012-06-04 22:26:29.000000000 +0200 +@@ -1209,7 +1209,7 @@ + if (!sChecked) { + sChecked = PR_TRUE; + #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 +- transitionFunc = ::TransitionWindowWithOptions; ++ transitionFunc = (TransitionWindowWithOptions_type) ::TransitionWindowWithOptions; // last TransitionWindowOptions* param is const* in 10.6 + #else + CFBundleRef carbonBundle = + ::CFBundleGetBundleWithIdentifier(CFSTR("com.apple.Carbon")); +--- misc/mozilla/xpfe/bootstrap/appleevents/Makefile.in 2006-01-05 17:41:23.000000000 +0100 ++++ misc/build/mozilla/xpfe/bootstrap/appleevents/Makefile.in 2012-06-04 23:35:22.000000000 +0200 +@@ -112,7 +112,7 @@ + + # convert AppleScript dictionary .sdef file into .r format, and thence to .rsrc + SDP_TOOL = $(SDP) +-REZ_TOOL = /Developer/Tools/Rez ++REZ_TOOL = Rez + SDEF_SRC = $(srcdir)/mozilla.sdef + RES_DEST = mozillaSuite.r + RSRC_DEST = mozillaSuite.rsrc |