tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.libasyncns: fix build with glibc-2.25
Franz Pletz
9 years ago
5670d96b
b2a4eb83
+17
-1
3 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
libasyncns
default.nix
libasyncns-fix-res-consts.patch
top-level
python-packages.nix
+2
pkgs/development/python-modules/libasyncns.nix
pkgs/development/python-modules/libasyncns/default.nix
···
10
10
sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg";
11
11
};
12
12
13
13
+
patches = [ ./libasyncns-fix-res-consts.patch ];
14
14
+
13
15
buildInputs = [ libasyncns ];
14
16
nativeBuildInputs = [ pkgconfig ];
15
17
doCheck = false; # requires network access
+14
pkgs/development/python-modules/libasyncns/libasyncns-fix-res-consts.patch
···
1
1
+
diff --git a/libasyncns.c b/libasyncns.c
2
2
+
index 99a73de..85709b0 100644
3
3
+
--- a/libasyncns.c
4
4
+
+++ b/libasyncns.c
5
5
+
@@ -134,9 +134,8 @@ PyMODINIT_FUNC initlibasyncns(void)
6
6
+
ADDNSCONST(ns_t_mailb);
7
7
+
ADDNSCONST(ns_t_maila);
8
8
+
ADDNSCONST(ns_t_any);
9
9
+
- ADDNSCONST(ns_t_zxfr);
10
10
+
ADDNSCONST(ns_t_max);
11
11
+
12
12
+
ADDNSCONST(ns_c_invalid);
13
13
+
ADDNSCONST(ns_c_in);
14
14
+
ADDNSCONST(ns_c_2);
+1
-1
pkgs/top-level/python-packages.nix
···
28176
28176
buildInputs = with self; [ pytest pkgs.glibcLocales ];
28177
28177
};
28178
28178
28179
28179
-
libasyncns = callPackage ../development/python-modules/libasyncns.nix {
28179
28179
+
libasyncns = callPackage ../development/python-modules/libasyncns {
28180
28180
inherit (pkgs) libasyncns pkgconfig;
28181
28181
};
28182
28182