diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-07-29 13:10:58 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2022-07-29 13:12:51 -0500 |
commit | ffa408b3d9e5462d6b8233309eedbd1e6781b236 (patch) | |
tree | 19db4cfe2d2d747208c95267a7e6d5bcfebabe38 /net-fs | |
parent | sys-libs/ldb: fix tevent detection (diff) | |
download | gentoo-ffa408b3d9e5462d6b8233309eedbd1e6781b236.tar.gz gentoo-ffa408b3d9e5462d6b8233309eedbd1e6781b236.tar.bz2 gentoo-ffa408b3d9e5462d6b8233309eedbd1e6781b236.zip |
net-fs/samba: add tevent detection patch
Closes: https://bugs.gentoo.org/590026
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/samba/files/ldb-2.5.2-skip-wav-tevent-check.patch | 12 | ||||
-rw-r--r-- | net-fs/samba/samba-4.14.14.ebuild | 1 | ||||
-rw-r--r-- | net-fs/samba/samba-4.15.9.ebuild | 1 | ||||
-rw-r--r-- | net-fs/samba/samba-4.16.4.ebuild | 1 |
4 files changed, 15 insertions, 0 deletions
diff --git a/net-fs/samba/files/ldb-2.5.2-skip-wav-tevent-check.patch b/net-fs/samba/files/ldb-2.5.2-skip-wav-tevent-check.patch new file mode 100644 index 000000000000..4578435064b0 --- /dev/null +++ b/net-fs/samba/files/ldb-2.5.2-skip-wav-tevent-check.patch @@ -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'): diff --git a/net-fs/samba/samba-4.14.14.ebuild b/net-fs/samba/samba-4.14.14.ebuild index d7e8bd93a28f..860cd1aeb3f2 100644 --- a/net-fs/samba/samba-4.14.14.ebuild +++ b/net-fs/samba/samba-4.14.14.ebuild @@ -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)" diff --git a/net-fs/samba/samba-4.15.9.ebuild b/net-fs/samba/samba-4.15.9.ebuild index a2c269deaa76..2ba0530bb6ae 100644 --- a/net-fs/samba/samba-4.15.9.ebuild +++ b/net-fs/samba/samba-4.15.9.ebuild @@ -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)" diff --git a/net-fs/samba/samba-4.16.4.ebuild b/net-fs/samba/samba-4.16.4.ebuild index 6aa50af58785..02f5797dfdc2 100644 --- a/net-fs/samba/samba-4.16.4.ebuild +++ b/net-fs/samba/samba-4.16.4.ebuild @@ -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)" |