From 1599a8ccc4a1b872f919371403ec0434b033207b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 8 Jan 2018 09:41:05 +0000 Subject: net-fs/samba : import from portage tree, preconfigure --- net-fs/samba/files/samba-glibc-2.26-no_rpc.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net-fs/samba/files/samba-glibc-2.26-no_rpc.patch (limited to 'net-fs/samba/files/samba-glibc-2.26-no_rpc.patch') diff --git a/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch b/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch new file mode 100644 index 00000000..e6644684 --- /dev/null +++ b/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch @@ -0,0 +1,14 @@ +https://attachments.samba.org/attachment.cgi?id=13172 +https://bugs.gentoo.org/637320 + +--- a/lib/replace/wscript ++++ b/lib/replace/wscript +@@ -71,7 +71,7 @@ + conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') + conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') + +- conf.CHECK_CODE('', headers='rpc/rpc.h rpcsvc/yp_prot.h', define='HAVE_RPCSVC_YP_PROT_H') ++ conf.CHECK_CODE('ypstat s;', headers='rpc/rpc.h rpcsvc/yp_prot.h', define='HAVE_RPCSVC_YP_PROT_H') + + conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h valgrind/memcheck.h') + conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') -- cgit v1.2.3