From c68b9e5076094d60e8f767ffcd3bb9c224fc3fe9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 18 May 2014 09:28:59 +0200 Subject: fix musl compile, patches from AlpineLinux --- package/nfs-utils/patches/patch-configure_ac | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/nfs-utils/patches/patch-configure_ac (limited to 'package/nfs-utils/patches/patch-configure_ac') diff --git a/package/nfs-utils/patches/patch-configure_ac b/package/nfs-utils/patches/patch-configure_ac new file mode 100644 index 000000000..e21eb4210 --- /dev/null +++ b/package/nfs-utils/patches/patch-configure_ac @@ -0,0 +1,26 @@ +--- nfs-utils-1.3.0.orig/configure.ac 2014-03-25 16:12:07.000000000 +0100 ++++ nfs-utils-1.3.0/configure.ac 2014-05-17 21:03:27.077197789 +0200 +@@ -247,9 +247,6 @@ AC_CHECK_FUNC([connect], , + AC_CHECK_FUNC([getaddrinfo], , + [AC_MSG_ERROR([Function 'getaddrinfo' not found.])]) + +-AC_CHECK_FUNC([getrpcbynumber], , +- [AC_MSG_ERROR([Function 'getrpcbynumber' not found.])]) +- + AC_CHECK_FUNC([getservbyname], , + [AC_MSG_ERROR([Function 'getservbyname' not found.])]) + +@@ -408,12 +405,11 @@ AC_FUNC_STAT + AC_FUNC_VPRINTF + AC_CHECK_FUNCS([alarm atexit dup2 fdatasync ftruncate getcwd \ + gethostbyaddr gethostbyname gethostname getmntent \ +- getnameinfo getrpcbyname getifaddrs \ ++ getnameinfo getrpcbyname getrpcbynumber getrpcbynumber_r getifaddrs \ + gettimeofday hasmntopt inet_ntoa innetgr memset mkdir pathconf \ + ppoll realpath rmdir select socket strcasecmp strchr strdup \ + strerror strrchr strtol strtoul sigprocmask]) + +- + dnl ************************************************************* + dnl Check for data sizes + dnl ************************************************************* -- cgit v1.2.3