summaryrefslogtreecommitdiff
path: root/dev-python/libasyncns-python/files
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2017-09-20 18:10:44 +0300
committerPatrice Clement <monsieurp@gentoo.org>2017-09-23 21:40:13 +0200
commitb438d547336ff12837b65f8fef20c53a33a76442 (patch)
treea1c171b07e12bd4f65038305d31fa110172fa40a /dev-python/libasyncns-python/files
parent8b8af2bc04682e8333a425707178eba34a8f9606 (diff)
downloadgentoo-b438d547336ff12837b65f8fef20c53a33a76442.tar.gz
gentoo-b438d547336ff12837b65f8fef20c53a33a76442.tar.bz2
gentoo-b438d547336ff12837b65f8fef20c53a33a76442.zip
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
Diffstat (limited to 'dev-python/libasyncns-python/files')
-rw-r--r--dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch14
1 files changed, 14 insertions, 0 deletions
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 000000000000..6ec84aa732b9
--- /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);