diff options
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_ | 
