mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-fs/samba: add tevent detection patch
Closes: https://bugs.gentoo.org/590026 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
12
net-fs/samba/files/ldb-2.5.2-skip-wav-tevent-check.patch
Normal file
12
net-fs/samba/files/ldb-2.5.2-skip-wav-tevent-check.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ldb-1.3.6/lib/tevent/wscript
|
||||
+++ ldb-1.3.6/lib/tevent/wscript
|
||||
@@ -34,8 +34,7 @@
|
||||
if conf.CHECK_BUNDLED_SYSTEM_PKG('tevent', minversion=VERSION,
|
||||
onlyif='talloc', implied_deps='replace talloc'):
|
||||
conf.define('USING_SYSTEM_TEVENT', 1)
|
||||
- if not conf.env.disable_python and \
|
||||
- conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
|
||||
+ if not conf.env.disable_python:
|
||||
conf.define('USING_SYSTEM_PYTEVENT', 1)
|
||||
|
||||
if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
|
||||
@@ -143,6 +143,7 @@ BDEPEND="${PYTHON_DEPS}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.4.0-pam.patch"
|
||||
"${FILESDIR}/ldb-2.5.2-skip-wav-tevent-check.patch"
|
||||
)
|
||||
|
||||
#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
|
||||
|
||||
@@ -140,6 +140,7 @@ BDEPEND="${PYTHON_DEPS}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.4.0-pam.patch"
|
||||
"${FILESDIR}/ldb-2.5.2-skip-wav-tevent-check.patch"
|
||||
)
|
||||
|
||||
#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
|
||||
|
||||
@@ -143,6 +143,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.4.0-pam.patch"
|
||||
"${FILESDIR}/${PN}-4.16.1-netdb-defines.patch"
|
||||
"${FILESDIR}/${PN}-4.16.2-fix-musl-without-innetgr.patch"
|
||||
"${FILESDIR}/ldb-2.5.2-skip-wav-tevent-check.patch"
|
||||
)
|
||||
|
||||
#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
|
||||
|
||||
Reference in New Issue
Block a user