diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-20 06:36:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-20 06:36:29 +0000 |
commit | 4c60e3b3235bcc7f291760881f8b40660a518471 (patch) | |
tree | e0495f40b57545a8c3ef6cf23c7717e6621e7885 /sys-auth/nss-pam-ldapd/files | |
parent | 84be07a71d5002585ac714a892bbfd57f3091b4e (diff) |
gentoo auto-resync : 20:03:2023 - 06:36:29
Diffstat (limited to 'sys-auth/nss-pam-ldapd/files')
-rw-r--r-- | sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch new file mode 100644 index 000000000000..2036da4fd7b1 --- /dev/null +++ b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch @@ -0,0 +1,26 @@ +Bug: https://bugs.gentoo.org/716272 + +--- a/nss/hosts.c ++++ b/nss/hosts.c +@@ -49,6 +49,9 @@ + *h_errnop = NO_RECOVERY; \ + return NSS_STATUS_UNAVAIL; + ++#ifndef NETDB_INTERNAL ++#define NETDB_INTERNAL -1 ++#endif + #undef ERROR_OUT_BUFERROR + #define ERROR_OUT_BUFERROR(fp) \ + *errnop = ERANGE; \ +--- a/nss/networks.c ++++ b/nss/networks.c +@@ -49,6 +49,9 @@ + *h_errnop = NO_RECOVERY; \ + return NSS_STATUS_UNAVAIL; + ++#ifndef NETDB_INTERNAL ++#define NETDB_INTERNAL -1 ++#endif + #undef ERROR_OUT_BUFERROR + #define ERROR_OUT_BUFERROR(fp) \ + *errnop = ERANGE; \ |