mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
15 lines
No EOL
475 B
Diff
15 lines
No EOL
475 B
Diff
Author: Nick O'Connor <nick@o-connor.io>
|
|
Summary: Fixes musl compatibility
|
|
----
|
|
--- a/configure.ac.orig
|
|
+++ b/configure.ac
|
|
@@ -499,6 +499,9 @@
|
|
#include <nsswitch.h>
|
|
#endif])
|
|
|
|
+ # if not defined, define NETDB_INTERNAL
|
|
+ AC_CHECK_DECL([NETDB_INTERNAL],,[AC_DEFINE([NETDB_INTERNAL], [-1], "define NETDB_INTERNAL")])
|
|
+
|
|
# check if struct nss_XbyY_args has a returnlen attribute
|
|
AC_CHECK_MEMBERS([struct nss_XbyY_args.returnlen],,, [[
|
|
#ifdef HAVE_NSS_H
|