-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathPython-2.7.2-enable_ipv6.patch
More file actions
55 lines (49 loc) · 1.6 KB
/
Copy pathPython-2.7.2-enable_ipv6.patch
File metadata and controls
55 lines (49 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
diff -wuprN Python-2.7.2/configure Python-2.7.2-new/configure
--- Python-2.7.2/configure 2011-06-11 17:46:28.000000000 +0200
+++ Python-2.7.2-new/configure 2012-08-13 00:28:43.083150979 +0200
@@ -10881,20 +10881,8 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
$as_echo "$ac_cv_buggy_getaddrinfo" >&6; }
-if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
-then
- if test $ipv6 = yes
- then
- echo 'Fatal: You must get working getaddrinfo() function.'
- echo ' or you can specify "--disable-ipv6"'.
- exit 1
- fi
-else
-
$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
-fi
-
for ac_func in getnameinfo
do :
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
diff -wuprN Python-2.7.2/configure.in Python-2.7.2-new/configure.in
--- Python-2.7.2/configure.in 2011-06-11 17:46:28.000000000 +0200
+++ Python-2.7.2-new/configure.in 2012-08-13 00:27:38.479150981 +0200
@@ -3125,17 +3125,17 @@ fi
AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
-if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
-then
- if test $ipv6 = yes
- then
- echo 'Fatal: You must get working getaddrinfo() function.'
- echo ' or you can specify "--disable-ipv6"'.
- exit 1
- fi
-else
+#if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
+#then
+# if test $ipv6 = yes
+# then
+# echo 'Fatal: You must get working getaddrinfo() function.'
+# echo ' or you can specify "--disable-ipv6"'.
+# exit 1
+# fi
+#else
AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if you have the getaddrinfo function.])
-fi
+#fi
AC_CHECK_FUNCS(getnameinfo)