Browse Source

allow using macOS SDK 11.3 for suite

Bill Gianopoulos 1 year ago
parent
commit
cd06e022b1

+ 27 - 0
mozilla-central/patches/9999999-allow-macos-113-suite.patch

@@ -0,0 +1,27 @@
+# HG changeset patch
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
+# Date 1675347502 0
+Bug 9999999 - allow using macOS SDK 11.3 for suite.
+
+diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure
+--- a/build/moz.configure/toolchain.configure
++++ b/build/moz.configure/toolchain.configure
+@@ -91,17 +91,17 @@ with only_when(host_is_osx | target_is_o
+         if "Version" not in obj:
+             raise Exception(
+                 "Error finding Version information in SDKSettings.plist from the SDK: %s"
+                 % sdk
+             )
+         return Version(obj["Version"])
+ 
+     def sdk_min_version():
+-        return "13.0"
++        return "11.3"
+ 
+     @depends(
+         "--with-macos-sdk",
+         host,
+         bootstrap_path(
+             "MacOSX{}.sdk".format(sdk_min_version()),
+             when=depends("--with-macos-sdk")(lambda x: not x),
+         ),

+ 1 - 0
mozilla-central/patches/series

@@ -2,3 +2,4 @@
 9999999-with-vs2019-vs2022.patch
 9999999-with-vs2019-vs2022.patch
 9999999-NSSgetentropy.patch
 9999999-NSSgetentropy.patch
 1807834-respect-dmg-hfs-env.patch
 1807834-respect-dmg-hfs-env.patch
+9999999-allow-macos-113-suite.patch