[SVN-Commit] r484 - in branches/experimental/www/firefox-devel: .
files
svn-freebsd-gecko at chruetertee.ch
svn-freebsd-gecko at chruetertee.ch
Sat Jan 15 21:56:04 UTC 2011
Author: beat
Date: Sat Jan 15 21:55:57 2011
New Revision: 484
Log:
- Fix PGO build on systems where IPv6 is enabled. The SimpleHTTPServer
binds to an IPv4 address only so force the browser to connect via
127.0.0.1.
Submitted by: swills
Added:
branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py.in
Modified:
branches/experimental/www/firefox-devel/Makefile
Modified: branches/experimental/www/firefox-devel/Makefile
==============================================================================
--- branches/experimental/www/firefox-devel/Makefile Sat Jan 15 13:09:12 2011 (r483)
+++ branches/experimental/www/firefox-devel/Makefile Sat Jan 15 21:55:57 2011 (r484)
@@ -95,8 +95,6 @@
@${ECHO} "To build Firefox with PGO support you need a running X server and"
@${ECHO} " build this port with a user who could access the X server! "
@${ECHO} ""
- @${ECHO} " PGO does not work if IPv6 is enabled!"
- @${ECHO} ""
@${ECHO} "During the build a Firefox instance will start and run some test."
@${ECHO} " Do not interrupt or close Firefox during this tests! "
@${ECHO} "*****************************************************************"
Added: branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py.in Sat Jan 15 21:55:57 2011 (r484)
@@ -0,0 +1,18 @@
+--- build/pgo/profileserver.py.in.orig 2011-01-10 22:25:42.000000000 -0500
++++ build/pgo/profileserver.py.in 2011-01-15 16:20:00.000000000 -0500
+@@ -75,13 +75,13 @@
+ t.setDaemon(True) # don't hang on exit
+ t.start()
+
+- automation.setServerInfo("localhost", PORT)
++ automation.setServerInfo("127.0.0.1", PORT)
+ automation.initializeProfile(PROFILE_DIRECTORY)
+ browserEnv = automation.environment()
+ browserEnv["XPCOM_DEBUG_BREAK"] = "warn"
+ browserEnv["MOZ_JAR_LOG_DIR"] = MOZ_JAR_LOG_DIR
+
+- url = "http://localhost:%d/index.html" % PORT
++ url = "http://127.0.0.1:%d/index.html" % PORT
+ appPath = os.path.join(SCRIPT_DIR, automation.DEFAULT_APP)
+ status = automation.runApp(url, browserEnv, appPath, PROFILE_DIRECTORY, {},
+ debuggerInfo=debuggerInfo,
More information about the freebsd-gecko
mailing list