diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-10 09:09:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-10 09:09:16 +0000 |
commit | f45955e60d4da9b7f4a1088c98042f9c06669039 (patch) | |
tree | 25ff171e8813c8b99f79a424124ed214a9520850 /dev-libs/libspt/files | |
parent | b9ef7cab6264f1838672efbbcb4ba3b3abd5323f (diff) |
gentoo resync : 10.12.2017
Diffstat (limited to 'dev-libs/libspt/files')
-rw-r--r-- | dev-libs/libspt/files/libspt-1.1-gentoo.patch | 21 | ||||
-rw-r--r-- | dev-libs/libspt/files/libspt-rpc.patch | 22 |
2 files changed, 22 insertions, 21 deletions
diff --git a/dev-libs/libspt/files/libspt-1.1-gentoo.patch b/dev-libs/libspt/files/libspt-1.1-gentoo.patch deleted file mode 100644 index 992273142061..000000000000 --- a/dev-libs/libspt/files/libspt-1.1-gentoo.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur libspt-1.1.orig/Makefile.in libspt-1.1/Makefile.in ---- libspt-1.1.orig/Makefile.in 2003-12-07 15:42:15.000000000 +0900 -+++ libspt-1.1/Makefile.in 2009-09-15 00:16:50.000000000 +0900 -@@ -9,7 +9,7 @@ - libexecdir = @libexecdir@ - includedir = @includedir@ - #docdir = $(prefix)/doc --mandir = $(prefix)/man -+mandir = @mandir@ - - EXEEXT = @EXEEXT@ - -@@ -48,7 +48,7 @@ - AGENTOBJS = sptagent.o sptconn.$lo cfuncs.$lo - LIBOBJS = libspt.$lo sptconn.$lo cfuncs.$lo error.$lo utilapi.$lo termios.$lo - OBJS = test.o $(LIBOBJS) --AGENT_MODE = -m 4755 -o root -g wheel -+AGENT_MODE = - - .SUFFIXES: .c .o .cc .lo - .c.lo: 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]) + |