diff options
author | Jens Rehsack <sno@netbsd.org> | 2018-08-27 13:07:35 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-28 09:36:28 -0700 |
commit | 15bd5f4ebb70f3cfc36534a759ce2dbd6515d6e6 (patch) | |
tree | 267f9b3093ce0d3d7b6b8af4aa13338f7418627d /meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch | |
parent | b3b34496758768d06a18621754492dde730c9423 (diff) | |
download | meta-openembedded-15bd5f4ebb70f3cfc36534a759ce2dbd6515d6e6.tar.gz |
python{, 3}-m2crypto: update from 0.26.4 -> 0.30.1
Updating recipe for crypto and SSL toolkit for python and support
python3 infrastructure of Yocto as well as the already supported
python2 line.
Refresh patches to fix devtool warnings
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch b/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch index 2d738cc94e..931c25c8ee 100644 --- a/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch +++ b/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch | |||
@@ -1,16 +1,19 @@ | |||
1 | Imported from Fedora | 1 | Imported from Fedora |
2 | 2 | ||
3 | --- M2Crypto/SWIG/_m2crypto.i 2017-09-26 11:26:33.000000000 +0200 | 3 | Index: M2Crypto-0.30.1/SWIG/_m2crypto.i |
4 | +++ M2Crypto-0.26.4/SWIG/_m2crypto.i 2017-09-26 21:04:14.080330741 +0200 | 4 | =================================================================== |
5 | @@ -7,6 +7,7 @@ | 5 | --- M2Crypto-0.30.1.orig/SWIG/_m2crypto.i |
6 | +++ M2Crypto-0.30.1/SWIG/_m2crypto.i | ||
7 | @@ -7,7 +7,7 @@ | ||
6 | * Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved. | 8 | * Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved. |
7 | * | 9 | * |
8 | */ | 10 | */ |
11 | - | ||
9 | +%import "gcc_macros.h" | 12 | +%import "gcc_macros.h" |
10 | |||
11 | %module(threads=1) m2crypto | 13 | %module(threads=1) m2crypto |
12 | /* We really don't need threadblock (PyGILState_Ensure() etc.) anywhere. | 14 | /* We really don't need threadblock (PyGILState_Ensure() etc.) anywhere. |
13 | @@ -15,11 +16,6 @@ | 15 | Disable threadallow as well, only enable it for operations likely to |
16 | @@ -15,11 +15,6 @@ | ||
14 | %nothreadblock; | 17 | %nothreadblock; |
15 | %nothreadallow; | 18 | %nothreadallow; |
16 | 19 | ||
@@ -20,5 +23,5 @@ Imported from Fedora | |||
20 | -#endif | 23 | -#endif |
21 | - | 24 | - |
22 | %{ | 25 | %{ |
23 | #if __GNUC__ < 5 | 26 | #ifdef _WIN32 |
24 | #pragma GCC diagnostic ignored "-Wunused-label" | 27 | #define _WINSOCKAPI_ |