1 |
commit: 0170c84efe6352034e68061c73985a0be1736cc2 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 19:13:51 2015 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 19:14:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0170c84e |
7 |
|
8 |
dev-lang/python: Don't patch configure directly |
9 |
|
10 |
Thanks to Arfrever for the suggestion. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/560948 |
13 |
|
14 |
Package-Manager: portage-2.2.20_p164 |
15 |
|
16 |
dev-lang/python/files/python-3.3-libressl.patch | 53 ------------------------- |
17 |
1 file changed, 53 deletions(-) |
18 |
|
19 |
diff --git a/dev-lang/python/files/python-3.3-libressl.patch b/dev-lang/python/files/python-3.3-libressl.patch |
20 |
index 38119c5..72bd63b 100644 |
21 |
--- a/dev-lang/python/files/python-3.3-libressl.patch |
22 |
+++ b/dev-lang/python/files/python-3.3-libressl.patch |
23 |
@@ -111,59 +111,6 @@ index 499e8ba..cb151ba 100644 |
24 |
{"RAND_status", (PyCFunction)PySSL_RAND_status, METH_NOARGS, |
25 |
PySSL_RAND_status_doc}, |
26 |
#endif |
27 |
-diff --git a/configure b/configure |
28 |
-index 6be41f5..5b5a2a0 100755 |
29 |
---- a/configure |
30 |
-+++ b/configure |
31 |
-@@ -8823,6 +8823,48 @@ _ACEOF |
32 |
- |
33 |
- fi |
34 |
- # Dynamic linking for HP-UX |
35 |
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 |
36 |
-+$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; } |
37 |
-+if ${ac_cv_lib_crypto_RAND_egd+:} false; then : |
38 |
-+ $as_echo_n "(cached) " >&6 |
39 |
-+else |
40 |
-+ ac_check_lib_save_LIBS=$LIBS |
41 |
-+LIBS="-lcrypto $LIBS" |
42 |
-+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
43 |
-+/* end confdefs.h. */ |
44 |
-+ |
45 |
-+/* Override any GCC internal prototype to avoid an error. |
46 |
-+ Use char because int might match the return type of a GCC |
47 |
-+ builtin and then its argument prototype would still apply. */ |
48 |
-+#ifdef __cplusplus |
49 |
-+extern "C" |
50 |
-+#endif |
51 |
-+char RAND_egd (); |
52 |
-+int |
53 |
-+main () |
54 |
-+{ |
55 |
-+return RAND_egd (); |
56 |
-+ ; |
57 |
-+ return 0; |
58 |
-+} |
59 |
-+_ACEOF |
60 |
-+if ac_fn_c_try_link "$LINENO"; then : |
61 |
-+ ac_cv_lib_crypto_RAND_egd=yes |
62 |
-+else |
63 |
-+ ac_cv_lib_crypto_RAND_egd=no |
64 |
-+fi |
65 |
-+rm -f core conftest.err conftest.$ac_objext \ |
66 |
-+ conftest$ac_exeext conftest.$ac_ext |
67 |
-+LIBS=$ac_check_lib_save_LIBS |
68 |
-+fi |
69 |
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 |
70 |
-+$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; } |
71 |
-+if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then : |
72 |
-+ |
73 |
-+$as_echo "#define HAVE_RAND_EGD 1" >>confdefs.h |
74 |
-+ |
75 |
-+fi |
76 |
-+ |
77 |
- |
78 |
- # only check for sem_init if thread support is requested |
79 |
- if test "$with_threads" = "yes" -o -z "$with_threads"; then |
80 |
diff --git a/configure.ac b/configure.ac |
81 |
index 6a64bff..90f315a 100644 |
82 |
--- a/configure.ac |