libmcrypt: fix build with gcc 15 (#474016)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
cctools,
|
||||
disablePosixThreads ? false,
|
||||
}:
|
||||
@@ -15,6 +16,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-5OtsB0u6sWisR7lHwZX/jO+dUaIRzdGMqcnvNNJ6Nz4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with GCC 15
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.alpinelinux.org/alpine/aports/-/raw/v20251224/community/libmcrypt/c23.patch";
|
||||
hash = "sha256-yTBCi5f0s8SiM5aq8X135E2Wwl7S2sO1tsVDthCdAMg=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin cctools;
|
||||
|
||||
configureFlags =
|
||||
|
||||
Reference in New Issue
Block a user