summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/samba-4.3.3-r1.ebuild')
-rw-r--r--net-fs/samba/samba-4.3.3-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/net-fs/samba/samba-4.3.3-r1.ebuild b/net-fs/samba/samba-4.3.3-r1.ebuild
index d7769ae0435e..bb4da0b93617 100644
--- a/net-fs/samba/samba-4.3.3-r1.ebuild
+++ b/net-fs/samba/samba-4.3.3-r1.ebuild
@@ -14,7 +14,8 @@ MY_P="${PN}-${MY_PV}"
SRC_PATH="stable"
[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
+SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz
+ https://dev.gentoo.org/~axs/distfiles/samba-disable-python-patches-${PV}.tar.xz"
KEYWORDS="~amd64 ~hppa ~x86"
[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
@@ -81,7 +82,6 @@ S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch"
"${FILESDIR}/${PN}-4.2.7-pam.patch"
- "${FILESDIR}/${PN}-4.3.3-disable-python-for-altabi.patch"
)
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
@@ -106,6 +106,12 @@ pkg_setup() {
src_prepare() {
epatch ${PATCHES[@]}
+
+ # install the patches from tarball(s)
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/patches"
+
# Allow user patches
epatch_user
multilib_copy_sources