mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
* add sys-libs/musl-nscd as dependency for musl, to fix ```unknown type name nss_status_t``` error * patch for missing NETDB_INTERNAL Closes: https://bugs.gentoo.org/713612 Closes: https://bugs.gentoo.org/716272 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Signed-off-by: Sam James <sam@gentoo.org>
27 lines
861 B
Diff
27 lines
861 B
Diff
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; \
|