mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
248efc2b17
GNU libc and Musl libc have different ideas what strverscmp("UNKNOWN", "2.2.0") should return. Upstream of gsasl naturally relies on GNU libc behaviour, so I patch-out this test for musl builds. According to Musl maintainer, this is bug on musl side. => https://www.openwall.com/lists/musl/2022/11/06/2
22 lines
517 B
Diff
22 lines
517 B
Diff
GNU libc and Musl libc have different ideas what
|
|
|
|
strverscmp("UNKNOWN", "2.2.0")
|
|
|
|
should return. Hopefully nobody depend on this particular behaviour in
|
|
practice.
|
|
|
|
--- a/tests/version.c 1970-01-01 00:00:00.000000000 -0000
|
|
+++ b/tests/version.c 1970-01-01 00:00:00.000000000 -0000
|
|
@@ -111,11 +111,5 @@
|
|
exit_code = EXIT_FAILURE;
|
|
}
|
|
|
|
- if (gsasl_check_version ("UNKNOWN"))
|
|
- {
|
|
- printf ("FAIL: gsasl_check_version (UNKNOWN)\n");
|
|
- exit_code = EXIT_FAILURE;
|
|
- }
|
|
-
|
|
return exit_code;
|
|
}
|