summaryrefslogtreecommitdiff
path: root/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-08 09:41:05 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-08 09:41:05 +0000
commit1599a8ccc4a1b872f919371403ec0434b033207b (patch)
tree3a121cb9898ddd74a02a64af00c072adc19b124b /net-fs/samba/files/samba-glibc-2.26-no_rpc.patch
parenta46ffc94b0acbcdfae7228e10d46197fe54d27c8 (diff)
net-fs/samba : import from portage tree, preconfigure
Diffstat (limited to 'net-fs/samba/files/samba-glibc-2.26-no_rpc.patch')
-rw-r--r--net-fs/samba/files/samba-glibc-2.26-no_rpc.patch14
1 files changed, 14 insertions, 0 deletions
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')