* [gentoo-commits] repo/gentoo:master commit in: dev-python/libasyncns-python/, dev-python/libasyncns-python/files/
@ 2017-09-23 19:40 Patrice Clement
0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2017-09-23 19:40 UTC (permalink / raw
To: gentoo-commits
commit: b438d547336ff12837b65f8fef20c53a33a76442
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Wed Sep 20 15:10:44 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 19:40:13 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b438d547
dev-python/libasyncns-python: fix build with glibc-2.25.
Gentoo-Bug: https://bugs.gentoo.org/609388
Closes: https://github.com/gentoo/gentoo/pull/5739
.../files/libasyncns-python-0.7.1-glibc-2.25.patch | 14 ++++++++++++++
.../libasyncns-python/libasyncns-python-0.7.1-r1.ebuild | 2 ++
2 files changed, 16 insertions(+)
diff --git a/dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch b/dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch
new file mode 100644
index 00000000000..6ec84aa732b
--- /dev/null
+++ b/dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch
@@ -0,0 +1,14 @@
+https://sourceware.org/git/?p=glibc.git;a=patch;h=4f157746e0c713965d9143b52fef606312087c48
+
+diff --git a/libasyncns-python-0.7.1/libasyncns.c b/libasyncns-python-0.7.1/libasyncns.c
+index 99a73de..5e3da0b 100644
+--- a/libasyncns-python-0.7.1/libasyncns.c
++++ b/libasyncns-python-0.7.1/libasyncns.c
+@@ -134,7 +134,6 @@ PyMODINIT_FUNC initlibasyncns(void)
+ ADDNSCONST(ns_t_mailb);
+ ADDNSCONST(ns_t_maila);
+ ADDNSCONST(ns_t_any);
+- ADDNSCONST(ns_t_zxfr);
+ ADDNSCONST(ns_t_max);
+
+ ADDNSCONST(ns_c_invalid);
diff --git a/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild b/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild
index 1b8e56d0025..2c5ab37721e 100644
--- a/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild
+++ b/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild
@@ -18,6 +18,8 @@ IUSE=""
DEPEND=">=net-libs/libasyncns-0.4"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${PN}-0.7.1-glibc-2.25.patch" )
+
python_compile() {
if [[ ${EPYTHON} != python3* ]]; then
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-23 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23 19:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/libasyncns-python/, dev-python/libasyncns-python/files/ Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox