linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / kerberos / krb5-Fix-typo-in-musl-build-fix.patch
blobf8718606a7f8fd4037c709ce0899d6622ec05c07
1 From b009cca2026b615ef5386faa4c0230bc27c4161d Mon Sep 17 00:00:00 2001
2 From: Greg Hudson <ghudson@mit.edu>
3 Date: Thu, 12 Mar 2020 00:44:10 -0400
4 Subject: [PATCH] Fix typo in musl build fix
6 Commit cbdbc8d00d31344fafe00e0fdf984e04e631f7c4 checked for
7 __GLIBC__PREREQ instead of __GLIBC_PREREQ, thus accidentally reverting
8 the workaround introduced in commit
9 bf5953c549a6d279977df69ffe89b2ba51460eaf. Fix the typo.
11 ticket: 8880
12 ---
13 src/util/support/plugins.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
17 index 1644d16fd0..1ff10c354d 100644
18 --- a/src/util/support/plugins.c
19 +++ b/src/util/support/plugins.c
20 @@ -62,7 +62,7 @@
21 * dlopen() with RTLD_NODELETE, we weren't going to unload the plugin objects
22 * anyway.
24 -#ifdef __GLIBC__PREREQ
25 +#ifdef __GLIBC_PREREQ
26 #if ! __GLIBC_PREREQ(2, 25)
27 #define dlclose(x)
28 #endif