# http://bugs.python.org/issue17964 was fixed in 3.4 but not back-ported so we
# need this patch for 2.7 .
--- Python-2.7.10/Modules/posixmodule.c.~2~ 2015-05-10 10:17:06 -0700
+++ Python-2.7.10/Modules/posixmodule.c 2015-05-18 14:47:21 -0700
@@ -8555,7 +8555,7 @@
int name;
if (PyArg_ParseTuple(args, "O&:sysconf", conv_sysconf_confname, &name)) {
- int value;
+ long value;
errno = 0;
value = sysconf(name);