From f45955e60d4da9b7f4a1088c98042f9c06669039 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Dec 2017 09:09:16 +0000 Subject: gentoo resync : 10.12.2017 --- dev-libs/libspt/files/libspt-rpc.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-libs/libspt/files/libspt-rpc.patch (limited to 'dev-libs/libspt/files/libspt-rpc.patch') diff --git a/dev-libs/libspt/files/libspt-rpc.patch b/dev-libs/libspt/files/libspt-rpc.patch new file mode 100644 index 000000000000..79b545ace4fa --- /dev/null +++ b/dev-libs/libspt/files/libspt-rpc.patch @@ -0,0 +1,22 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,18 @@ + AC_CHECK_FUNCS([dup2 ftruncate gettimeofday select strcspn strstr]dnl + [ strchr memcpy bzero setutent setutxent updwtmp updwtmpx _openpty revoke getsid]dnl + [ setsid setpgrp snprintf sigaction cfmakeraw]) ++AC_ARG_WITH([libtirpc], ++ [AS_HELP_STRING([--with-libtirpc],[Use libtirpc as RPC implementation (instead of sunrpc)])]) ++AS_IF([test "x$with_libtirpc" = xyes], ++ [PKG_CHECK_MODULES([TIRPC], ++ [libtirpc], ++ [CFLAGS="$CFLAGS $TIRPC_CFLAGS"; LIBS="$LIBS $TIRPC_LIBS";], ++ [AC_MSG_ERROR([libtirpc requested, but library not found.])] ++ )], ++ [AC_CHECK_HEADER(rpc/rpc.h, ++ [], ++ [AC_MSG_ERROR([sunrpc requested, but headers are not present.])] ++)]) +-AC_SEARCH_LIBS([xdr_free],[nsl rpclib]) + AC_SEARCH_LIBS([socket],[socket]) + AC_SEARCH_LIBS([nanosleep],[posix4]) + -- cgit v1.2.3