iperf3: remove upstreamed patches and workarounds (musl)

This commit is contained in:
Will Dietz 2018-02-21 12:35:59 -06:00
parent 539f26cb39
commit ba88655328

View File

@ -10,16 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];
preConfigure = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
NIX_CFLAGS_COMPILE+=" -D_GNU_SOURCE"
'';
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
url = "http://git.alpinelinux.org/cgit/aports/plain/main/iperf3/build-fixes.patch";
name = "fix-musl-build.patch";
sha256 = "0zvfjnqdldh6rc6qggyb310swdnl9qk0m3z1kklnqzgjsh8dskvl";
})
(fetchpatch {
url = "http://git.alpinelinux.org/cgit/aports/plain/main/iperf3/remove-pg-flags.patch";
name = "remove-pg-flags.patch";