diff --git a/firefox-37-build-with-time-independent-uuids.patch b/firefox-37-build-with-time-independent-uuids.patch new file mode 100644 index 0000000..3b9c8e6 --- /dev/null +++ b/firefox-37-build-with-time-independent-uuids.patch @@ -0,0 +1,12 @@ +diff -ur mozilla-release/python/mach/mach/main.py mozilla-release.new/python/mach/mach/main.py +--- mozilla-release/python/mach/mach/main.py 2015-04-03 05:30:08.000000000 +0300 ++++ mozilla-release.new/python/mach/mach/main.py 2015-04-20 13:03:05.743443939 +0300 +@@ -261,7 +261,7 @@ + mod = imp.new_module(b'mach.commands') + sys.modules[b'mach.commands'] = mod + +- module_name = 'mach.commands.%s' % uuid.uuid1().get_hex() ++ module_name = 'mach.commands.%s' % uuid.uuid4().get_hex() + + imp.load_source(module_name, path) + diff --git a/firefox.spec b/firefox.spec index d8219f4..ca7cd75 100644 --- a/firefox.spec +++ b/firefox.spec @@ -56,6 +56,7 @@ Patch11: firefox-37-kde.patch Patch12: mozilla-37-kde.patch #Patch13: mozilla-kde-background.patch Patch34: xulrunner_nojit.patch +Patch35: firefox-37-build-with-time-independent-uuids.patch # Fedora specific patches # Unable to install addons from https pages @@ -179,6 +180,7 @@ Files and macros mainly for building Firefox extensions. %patch34 -p1 %endif %endif +%patch35 -p1 # Fedora patches %patch204 -p2 -b .966424