From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDA881396D9 for ; Mon, 13 Nov 2017 15:49:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A870E1081; Mon, 13 Nov 2017 15:49:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39819E1081 for ; Mon, 13 Nov 2017 15:49:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E9AD33E4AD for ; Mon, 13 Nov 2017 15:49:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B312A98C1 for ; Mon, 13 Nov 2017 15:49:37 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1510588169.51c693cb95d3dcde67b32a3a39944e0759d1c2a3.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/, net-fs/samba/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/samba/files/samba-glibc-2.26-no_rpc.patch net-fs/samba/samba-4.6.9.ebuild net-fs/samba/samba-4.7.1.ebuild X-VCS-Directories: net-fs/samba/files/ net-fs/samba/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 51c693cb95d3dcde67b32a3a39944e0759d1c2a3 X-VCS-Branch: master Date: Mon, 13 Nov 2017 15:49:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 77b657f5-b81a-4a2d-806f-e287a6563b27 X-Archives-Hash: fe719022829c40a81215e9306a099bd7 commit: 51c693cb95d3dcde67b32a3a39944e0759d1c2a3 Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 13 15:49:04 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Nov 13 15:49:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c693cb net-fs/samba: Fixed build with rpc-less glibc. Closes: https://bugs.gentoo.org/606542 Closes: https://bugs.gentoo.org/637320 Package-Manager: Portage-2.3.13, Repoman-2.3.4 net-fs/samba/files/samba-glibc-2.26-no_rpc.patch | 14 ++++++++++++++ net-fs/samba/samba-4.6.9.ebuild | 1 + net-fs/samba/samba-4.7.1.ebuild | 1 + 3 files changed, 16 insertions(+) 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 00000000000..e66446845f2 --- /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') diff --git a/net-fs/samba/samba-4.6.9.ebuild b/net-fs/samba/samba-4.6.9.ebuild index 43d075a4a99..3f12fb2f123 100644 --- a/net-fs/samba/samba-4.6.9.ebuild +++ b/net-fs/samba/samba-4.6.9.ebuild @@ -119,6 +119,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}/${PN}-4.4.0-pam.patch" "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" + "${FILESDIR}/${PN}-glibc-2.26-no_rpc.patch" #637320 ) #CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" diff --git a/net-fs/samba/samba-4.7.1.ebuild b/net-fs/samba/samba-4.7.1.ebuild index 8e9afc791ab..e04ebce2c5b 100644 --- a/net-fs/samba/samba-4.7.1.ebuild +++ b/net-fs/samba/samba-4.7.1.ebuild @@ -118,6 +118,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.4.0-pam.patch" "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" "${FILESDIR}"/talloc-disable-python.patch + "${FILESDIR}/${PN}-glibc-2.26-no_rpc.patch" #637320 ) #CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"