|
@@ -0,0 +1,22 @@
|
|
|
|
+# HG changeset patch
|
|
|
|
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
|
|
|
|
+# Date 1717163163 0
|
|
|
|
+No bug - permit building with MozillaBuild 3.4.
|
|
|
|
+
|
|
|
|
+diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
|
|
|
|
+--- a/build/moz.configure/init.configure
|
|
|
|
++++ b/build/moz.configure/init.configure
|
|
|
|
+@@ -1332,12 +1332,12 @@ def mozillabuild_version(mozillabuild_di
|
|
|
|
+ with open(os.path.join(mozillabuild_dir, "VERSION"), "r") as fh:
|
|
|
|
+ return Version(fh.readline().strip())
|
|
|
|
+ except Exception as e:
|
|
|
|
+ die(e)
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @depends_if(mozillabuild_version)
|
|
|
|
+ def valid_mozillabuild_version(mozillabuild_version):
|
|
|
|
+- if mozillabuild_version < Version("4.0"):
|
|
|
|
++ if mozillabuild_version < Version("3.4"):
|
|
|
|
+ die(
|
|
|
|
+ f"Please upgrade MozillaBuild. You can find a recent version at: https://wiki.mozilla.org/MozillaBuild"
|
|
|
|
+ )
|