about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gsasl/gsasl.patch
blob: 572d3034967ef3d52ad8f14263e9dce557275bbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
 }