Unverified Commit 231aaf24 authored by Matthew Croughan's avatar Matthew Croughan Committed by GitHub
Browse files

[staging-next] iproute2: add patch for redefinition error musl (#451338)

parents 35dfa871 b38f14f5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -36,6 +36,15 @@ stdenv.mkDerivation rec {
      url = "https://lore.kernel.org/netdev/20240804161054.942439-1-dilfridge@gentoo.org/raw";
      hash = "sha256-47obv6mIn/HO47lt47slpTAFDxiQ3U/voHKzIiIGCTM=";
    })
  ]
  # Temporarily gated to keep rebuild counts under control.
  # The proper fix (targeted to staging) is done in https://github.com/NixOS/nixpkgs/pull/451397
  ++ lib.optionals stdenv.hostPlatform.isMusl [
    (fetchurl {
      name = "musl-redefinition.patch";
      url = "https://lore.kernel.org/netdev/20251012124002.296018-1-yureka@cyberchaos.dev/raw";
      hash = "sha256-8gSpZb/B5sMd2OilUQqg0FqM9y3GZd5Ch5AXV5wrCZQ=";
    })
  ];

  postPatch = ''