dovecot: fix build with gcc15 (#447797)

This commit is contained in:
Sandro
2025-10-13 20:06:48 +00:00
committed by GitHub
+6
View File
@@ -127,6 +127,12 @@ stdenv.mkDerivation rec {
url = "https://salsa.debian.org/debian/dovecot/-/raw/debian/1%252.3.19.1+dfsg1-2/debian/patches/Support-openssl-3.0.patch";
hash = "sha256-PbBB1jIY3jIC8Js1NY93zkV0gISGUq7Nc67Ul5tN7sw=";
})
# Fix build with gcc15
(fetchpatch {
name = "dovecot-test-data-stack-drop-bogus-assertion.patch";
url = "https://github.com/dovecot/core/commit/9f642dd868db6e7401f24e4fb4031b5bdca8aae7.patch";
hash = "sha256-dAX80dRqOba9Fkzl11ChYJ6vqcgfkaw/o+TOQKCnnns=";
})
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# fix timespec calls