pkgsStatic.cyrus_sasl: fix build

Drop patch (c2bd3af) that introduces stub for HMAC() function. Dynamic version
of the package builds just fine without that patch, with function provided
by openssl, and static build is actually broken by that patch due multiple
definitions of the HMAC() function.

In case of dynamic linking, multiple definitions are allowed and one particular
implementation is used according to complicated, but determinate rules.
This commit is contained in:
Dmitry Bogatov 2023-05-23 21:22:17 -04:00 committed by Yt
parent c45194320d
commit 6a58aac668

View File

@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
./cyrus-sasl-ac-try-run-fix.patch
# make compatible with openssl3. can probably be dropped with any release after 2.1.28
(fetchpatch {
url = "https://github.com/cyrusimap/cyrus-sasl/compare/cb549ef71c5bb646fe583697ebdcaba93267a237...c2bd3afbca57f176d8c650670ce371444bb7fcc0.patch";
hash = "sha256-bYeIkvle1Ms7Lnoob4eLd4RbPFHtPkKRZvfHNCBJY/s=";
url = "https://github.com/cyrusimap/cyrus-sasl/compare/cb549ef71c5bb646fe583697ebdcaba93267a237...dfaa62392e7caecc6ecf0097b4d73738ec4fc0a8.patch";
hash = "sha256-pc0cZqj1QoxDqgd/j/5q3vWONEPrTm4Pr6MzHlfjRCc=";
})
];