Update for Firefox v7.0.1 to v8.0.1 sent to ports@ for review.

patches from mpi@ added for macppc.

Ok mpi@, dcoppa@
This commit is contained in:
nigel 2011-12-08 00:33:36 +00:00
parent 712b4f04e2
commit 0ea545c343
8 changed files with 31 additions and 47 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.193 2011/10/28 13:01:13 robert Exp $ # $OpenBSD: Makefile,v 1.194 2011/12/08 00:33:36 nigel Exp $
COMMENT = Mozilla web browser COMMENT = Mozilla web browser
BROKEN-sparc64 = https://bugzilla.mozilla.org/show_bug.cgi?id=577056 BROKEN-sparc64 = https://bugzilla.mozilla.org/show_bug.cgi?id=577056
@ -6,16 +6,14 @@ BROKEN-sparc64 = https://bugzilla.mozilla.org/show_bug.cgi?id=577056
# Don't forget to bump www/firefox-i18n after updates. # Don't forget to bump www/firefox-i18n after updates.
# Don't forget to update devel/xulrunner/2.0 if patches changes. # Don't forget to update devel/xulrunner/2.0 if patches changes.
MOZILLA_VERSION = 7.0.1 MOZILLA_VERSION = 8.0.1
MOZILLA_BRANCH = release MOZILLA_BRANCH = release
MOZILLA_PROJECT = firefox MOZILLA_PROJECT = firefox
MOZILLA_CODENAME = browser MOZILLA_CODENAME = browser
REVISION = 0
# url for beta releases # url for beta releases
# MASTER_SITES= ftp://ftp.mozilla.org/pub/mozilla.org/${MOZILLA_PROJECT}/releases/${MOZILLA_VERSION}/source/ # MASTER_SITES= ftp://ftp.mozilla.org/pub/mozilla.org/${MOZILLA_PROJECT}/releases/${MOZILLA_VERSION}/source/
SO_VERSION = 26.0 SO_VERSION = 27.0
# NOTE: Must bump minor version if any shlib's are removed from the # NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues. # components dir to avoid pkg_add -r issues.
MOZILLA_LIBS = browsercomps mozalloc \ MOZILLA_LIBS = browsercomps mozalloc \

View File

@ -1,5 +1,5 @@
MD5 (mozilla/firefox-7.0.1.source.tar.bz2) = WyEttIYwupO7MOxjzKF/TQ== MD5 (mozilla/firefox-8.0.1.source.tar.bz2) = t9CbCC6Ip0hgpRqOBOKTMw==
RMD160 (mozilla/firefox-7.0.1.source.tar.bz2) = yr2D+Cm6VHEfEydJKC19SeM7YzQ= RMD160 (mozilla/firefox-8.0.1.source.tar.bz2) = Jld6+Z2qV9/MVj0dSLNZiVaieB4=
SHA1 (mozilla/firefox-7.0.1.source.tar.bz2) = lLvHFSgyNx3AvoL0EXMN8EPFxqw= SHA1 (mozilla/firefox-8.0.1.source.tar.bz2) = DdIHxc7p1TEUxVqiPuyja3VLwSg=
SHA256 (mozilla/firefox-7.0.1.source.tar.bz2) = gez2P8pnGGCU1J3Vpv5/Xb0UOjn4cq0SbeOPJGM0/AQ= SHA256 (mozilla/firefox-8.0.1.source.tar.bz2) = s1A3bLQLseNa+0xYG0p9k3dJMzWxWYKKIYLX85/KFFU=
SIZE (mozilla/firefox-7.0.1.source.tar.bz2) = 69278554 SIZE (mozilla/firefox-8.0.1.source.tar.bz2) = 70384304

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-browser_app_profile_firefox_js,v 1.8 2011/10/03 21:06:09 landry Exp $ $OpenBSD: patch-browser_app_profile_firefox_js,v 1.9 2011/12/08 00:33:36 nigel Exp $
--- browser/app/profile/firefox.js.orig Thu Aug 25 02:36:38 2011 --- browser/app/profile/firefox.js.orig Fri Nov 4 21:33:52 2011
+++ browser/app/profile/firefox.js Mon Aug 29 14:54:44 2011 +++ browser/app/profile/firefox.js Thu Nov 10 00:21:24 2011
@@ -135,7 +135,7 @@ pref("app.update.certs.2.issuerName", "CN=Thawte SSL C @@ -140,7 +140,7 @@ pref("app.update.certs.2.issuerName", "CN=Thawte SSL C
pref("app.update.certs.2.commonName", "aus3.mozilla.org"); pref("app.update.certs.2.commonName", "aus3.mozilla.org");
// Whether or not app updates are enabled // Whether or not app updates are enabled
@ -10,7 +10,7 @@ $OpenBSD: patch-browser_app_profile_firefox_js,v 1.8 2011/10/03 21:06:09 landry
// This preference turns on app.update.mode and allows automatic download and // This preference turns on app.update.mode and allows automatic download and
// install to take place. We use a separate boolean toggle for this to make // install to take place. We use a separate boolean toggle for this to make
@@ -563,7 +563,7 @@ pref("accessibility.typeaheadfind.flashBar", 1); @@ -567,7 +567,7 @@ pref("accessibility.typeaheadfind.flashBar", 1);
pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%&appRelease=%APP_RELEASE%"); pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%&appRelease=%APP_RELEASE%");
// by default we show an infobar message when pages require plugins the user has not installed, or are outdated // by default we show an infobar message when pages require plugins the user has not installed, or are outdated
@ -19,7 +19,7 @@ $OpenBSD: patch-browser_app_profile_firefox_js,v 1.8 2011/10/03 21:06:09 landry
pref("plugins.hide_infobar_for_outdated_plugin", false); pref("plugins.hide_infobar_for_outdated_plugin", false);
#ifdef XP_MACOSX #ifdef XP_MACOSX
@@ -687,10 +687,10 @@ pref("gecko.handlerService.allowRegisterFromDifferentH @@ -691,10 +691,10 @@ pref("gecko.handlerService.allowRegisterFromDifferentH
#ifdef MOZ_SAFE_BROWSING #ifdef MOZ_SAFE_BROWSING
// Safe browsing does nothing unless this pref is set // Safe browsing does nothing unless this pref is set
@ -32,7 +32,7 @@ $OpenBSD: patch-browser_app_profile_firefox_js,v 1.8 2011/10/03 21:06:09 landry
// Non-enhanced mode (local url lists) URL list to check for updates // Non-enhanced mode (local url lists) URL list to check for updates
pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2"); pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2");
@@ -752,10 +752,8 @@ pref("browser.EULA.version", 3); @@ -756,10 +756,8 @@ pref("browser.EULA.version", 3);
pref("browser.rights.version", 3); pref("browser.rights.version", 3);
pref("browser.rights.3.shown", false); pref("browser.rights.3.shown", false);

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-config_autoconf_mk_in,v 1.13 2011/10/03 21:06:09 landry Exp $ $OpenBSD: patch-config_autoconf_mk_in,v 1.14 2011/12/08 00:33:36 nigel Exp $
--- config/autoconf.mk.in.orig Thu Aug 25 02:36:39 2011 --- config/autoconf.mk.in.orig Fri Nov 4 21:33:54 2011
+++ config/autoconf.mk.in Mon Aug 29 14:54:45 2011 +++ config/autoconf.mk.in Thu Nov 10 00:21:24 2011
@@ -302,7 +302,7 @@ OS_LDFLAGS = @LDFLAGS@ @@ -299,7 +299,7 @@ OS_LDFLAGS = @LDFLAGS@
OS_COMPILE_CFLAGS = $(OS_CPPFLAGS) @COMPILE_CFLAGS@ OS_COMPILE_CFLAGS = $(OS_CPPFLAGS) @COMPILE_CFLAGS@
OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS) @COMPILE_CXXFLAGS@ OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS) @COMPILE_CXXFLAGS@

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-config_rules_mk,v 1.12 2011/10/03 21:06:09 landry Exp $ $OpenBSD: patch-config_rules_mk,v 1.13 2011/12/08 00:33:36 nigel Exp $
Add -rpath $(installdir) to be sure libxul/libxpcom can open their Add -rpath $(installdir) to be sure libxul/libxpcom can open their
depending libs when being dlopen()'ed themselves depending libs when being dlopen()'ed themselves
--- config/rules.mk.orig Thu Aug 25 02:36:39 2011 --- config/rules.mk.orig Fri Nov 4 21:33:54 2011
+++ config/rules.mk Mon Aug 29 14:54:46 2011 +++ config/rules.mk Thu Nov 10 00:21:24 2011
@@ -567,6 +567,14 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic @@ -559,6 +559,14 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
endif endif
endif endif

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-content_events_src_nsContentEventHandler_cpp,v 1.5 2011/10/03 21:06:09 landry Exp $
fix for gcc3 archs ?
--- content/events/src/nsContentEventHandler.cpp.orig Thu Aug 25 02:36:40 2011
+++ content/events/src/nsContentEventHandler.cpp Mon Aug 29 14:54:46 2011
@@ -1096,7 +1096,8 @@ nsContentEventHandler::OnSelectionEvent(nsSelectionEve
selPrivate->EndBatchChanges();
NS_ENSURE_SUCCESS(rv, rv);
- nsCOMPtr<nsISelection2>(do_QueryInterface(mSelection))->ScrollIntoView(
+ nsCOMPtr<nsISelection2> sel2 = do_QueryInterface(mSelection);
+ sel2->ScrollIntoView(
nsISelectionController::SELECTION_FOCUS_REGION, PR_FALSE, -1, -1);
aEvent->mSucceeded = PR_TRUE;
return NS_OK;

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-extensions_spellcheck_hunspell_src_mozHunspell_cpp,v 1.4 2010/07/22 21:42:13 landry Exp $ $OpenBSD: patch-extensions_spellcheck_hunspell_src_mozHunspell_cpp,v 1.5 2011/12/08 00:33:36 nigel Exp $
--- extensions/spellcheck/hunspell/src/mozHunspell.cpp.orig Tue Jul 13 21:10:13 2010 --- extensions/spellcheck/hunspell/src/mozHunspell.cpp.orig Fri Nov 4 21:33:58 2011
+++ extensions/spellcheck/hunspell/src/mozHunspell.cpp Wed Jul 21 09:54:44 2010 +++ extensions/spellcheck/hunspell/src/mozHunspell.cpp Thu Nov 10 00:21:24 2011
@@ -63,6 +63,7 @@ @@ -63,6 +63,7 @@
#include "nsISimpleEnumerator.h" #include "nsISimpleEnumerator.h"
#include "nsIDirectoryEnumerator.h" #include "nsIDirectoryEnumerator.h"
@ -9,7 +9,7 @@ $OpenBSD: patch-extensions_spellcheck_hunspell_src_mozHunspell_cpp,v 1.4 2010/07
#include "nsDirectoryServiceUtils.h" #include "nsDirectoryServiceUtils.h"
#include "nsDirectoryServiceDefs.h" #include "nsDirectoryServiceDefs.h"
#include "mozISpellI18NManager.h" #include "mozISpellI18NManager.h"
@@ -342,6 +343,16 @@ mozHunspell::LoadDictionaryList() @@ -370,6 +371,16 @@ mozHunspell::LoadDictionaryList()
appDir->AppendNative(NS_LITERAL_CSTRING("dictionaries")); appDir->AppendNative(NS_LITERAL_CSTRING("dictionaries"));
LoadDictionariesFromDir(appDir); LoadDictionariesFromDir(appDir);
} }

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-gfx_thebes_Makefile_in,v 1.3 2011/10/03 21:06:09 landry Exp $ $OpenBSD: patch-gfx_thebes_Makefile_in,v 1.4 2011/12/08 00:33:36 nigel Exp $
--- gfx/thebes/Makefile.in.orig Thu Aug 25 02:36:49 2011 --- gfx/thebes/Makefile.in.orig Fri Nov 4 21:33:59 2011
+++ gfx/thebes/Makefile.in Mon Aug 29 14:54:47 2011 +++ gfx/thebes/Makefile.in Thu Nov 10 00:21:24 2011
@@ -383,6 +383,10 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) @@ -389,6 +389,10 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
CXXFLAGS += $(MOZ_PANGO_CFLAGS) CXXFLAGS += $(MOZ_PANGO_CFLAGS)
endif endif