libndp: fix build for musl with GCC 14

This commit is contained in:
Alyssa Ross 2024-09-13 20:40:39 +02:00
parent 7ea47b7b8a
commit 87efc7da45
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
hash = "sha256-qKshTgHcOpthUnaQU5VjfzkSmMhNd2UfDL8LEILdLdQ=";
};
patches = [
(fetchurl {
name = "musl.patch";
url = "https://git.alpinelinux.org/aports/plain/community/libndp/0001-Patch-libndp.c.patch?id=00406a9c697d88f531962cb63e5343488a959b93";
hash = "sha256-1ZcXgZv3mYtt5NaK4rUMnScWVajlWQ+anzBDS5IfgJI=";
})
];
nativeBuildInputs = [ autoreconfHook ];
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [