Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2011 23:03:06 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r491 - branches/experimental/www/firefox-devel/files
Message-ID:  <201102092303.p19N36Ee098616@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Wed Feb  9 23:03:06 2011
New Revision: 491

Log:
- Fix PGO build

Obtained from:	https://bugzilla.mozilla.org/show_bug.cgi?id=629202

Modified:
   branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py

Modified: branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py
==============================================================================
--- branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py	Wed Feb  9 09:13:42 2011	(r490)
+++ branches/experimental/www/firefox-devel/files/patch-build-pgo-profileserver.py	Wed Feb  9 23:03:06 2011	(r491)
@@ -1,6 +1,21 @@
---- build/pgo/profileserver.py.orig	2011-01-10 22:25:42.000000000 -0500
-+++ build/pgo/profileserver.py	2011-01-15 16:20:00.000000000 -0500
-@@ -75,13 +75,13 @@
+--- build/pgo/profileserver.py.orig	2011-02-03 21:11:40.000000000 +0100
++++ build/pgo/profileserver.py	2011-02-09 22:44:23.000000000 +0100
+@@ -46,11 +46,13 @@
+ import sys
+ import shutil
+ from datetime import datetime
++
++SCRIPT_DIR = os.path.abspath(os.path.realpath(os.path.dirname(sys.argv[0])))
++sys.path.insert(0, SCRIPT_DIR)
+ from automation import Automation
+ from automationutils import getDebuggerInfo, addCommonOptions
+ 
+ PORT = 8888
+-SCRIPT_DIR = os.path.abspath(os.path.realpath(os.path.dirname(sys.argv[0])))
+ PROFILE_DIRECTORY = os.path.abspath(os.path.join(SCRIPT_DIR, "./pgoprofile"))
+ MOZ_JAR_LOG_DIR = os.path.abspath(os.path.join(os.path.join(os.getenv("OBJDIR"), "dist"), "jarlog"))
+ os.chdir(SCRIPT_DIR)
+@@ -75,13 +77,13 @@
    t.setDaemon(True) # don't hang on exit
    t.start()
    



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102092303.p19N36Ee098616>