summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-configure_ac
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-18 09:28:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-18 09:29:30 +0200
commitc68b9e5076094d60e8f767ffcd3bb9c224fc3fe9 (patch)
treef3d2b986be5a8f0c5039658fc21e420488c07e5d /package/libtirpc/patches/patch-configure_ac
parent60bc3658b3ef53082c17817690ab0c6bf7f25e26 (diff)
fix musl compile, patches from AlpineLinux
Diffstat (limited to 'package/libtirpc/patches/patch-configure_ac')
-rw-r--r--package/libtirpc/patches/patch-configure_ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/libtirpc/patches/patch-configure_ac b/package/libtirpc/patches/patch-configure_ac
new file mode 100644
index 000000000..87f8bb75e
--- /dev/null
+++ b/package/libtirpc/patches/patch-configure_ac
@@ -0,0 +1,21 @@
+--- libtirpc-0.2.4.orig/configure.ac 2013-12-09 21:59:51.000000000 +0100
++++ libtirpc-0.2.4/configure.ac 2014-05-18 08:04:03.214884953 +0200
+@@ -25,14 +25,16 @@ if test "x$enable_ipv6" != xno; then
+ fi
+
+ AC_PROG_CC
+-m4_pattern_allow(AM_CONFIG_HEADERS(config.h))
++AC_CONFIG_HEADERS([config.h])
+ AC_PROG_LIBTOOL
+ AC_HEADER_DIRENT
+ AC_PREFIX_DEFAULT(/usr)
+ AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h])
+ AC_CHECK_LIB([pthread], [pthread_create])
+ AC_CHECK_LIB([nsl], [yp_get_default_domain])
+-
++AC_CHECK_FUNCS([getrpcbyname getrpcbynumber])
+
+ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile])
+ AC_OUTPUT(libtirpc.pc)
++
++