3
0
Fork 0
forked from mirrors/nixpkgs

pkgsMusl.bridge-utils: fix build (#203256)

This commit is contained in:
Yureka 2022-11-30 09:17:05 +01:00 committed by GitHub
parent 1b68f3a0dd
commit c55d02f41b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, autoreconfHook }:
{ lib, stdenv, fetchurl, autoreconfHook, fetchpatch }:
stdenv.mkDerivation rec {
pname = "bridge-utils";
@ -9,7 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ph2L5PGhQFxgyO841UTwwYwFszubB+W0sxAzU2Fl5g4=";
};
patches = [ ./autoconf-ar.patch ];
patches = [
./autoconf-ar.patch
(fetchpatch {
name = "musl-includes.patch";
url = "https://git.alpinelinux.org/aports/plain/main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch?id=12c9046eee3a0a35665dc4e280c1f5ae2af5845d";
sha256 = "sha256-uY1tgJhcm1DFctg9scmC8e+mgowgz4f/oF0+k+x+jqw=";
})
];
nativeBuildInputs = [ autoreconfHook ];