Unverified Commit 3ea1895a authored by Martin Weinelt's avatar Martin Weinelt
Browse files

buildMozillaMach: backport cbindgen 0.27.0 compat

The preliminary assumption is that this will land in 131 and then get
backported into the ESR releases. I don't plan to guess the correct
version boundaries at this time.
parent a7ca8656
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -237,6 +237,14 @@ buildStdenv.mkDerivation {
  patches = lib.optionals (lib.versionAtLeast version "111") [ ./env_var_for_system_dir-ff111.patch ]
  ++ lib.optionals (lib.versionAtLeast version "96" && lib.versionOlder version "121") [ ./no-buildconfig-ffx96.patch ]
  ++ lib.optionals (lib.versionAtLeast version "121") [ ./no-buildconfig-ffx121.patch ]
  ++ lib.optionals (lib.versionOlder version "131") [
    (fetchpatch {
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1912663
      name = "cbindgen-0.27.0-compat.patch";
      url = "https://hg.mozilla.org/integration/autoland/raw-rev/98cd34c7ff57";
      hash = "sha256-MqgWHgbDedVzDOqY2/fvCCp+bGwFBHqmaJLi/mllZug=";
    })
  ]
  ++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch  ]
  ++ lib.optionals (lib.versionOlder version "123") [
    (fetchpatch {