diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-05-01 12:04:27 -0700 | 
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-03 08:05:21 -0700 | 
| commit | b8bbcd4dea422be57123d75fbf77db6d33542b06 (patch) | |
| tree | 17575e74c76687ac01ecdd69aed7a71614941326 /meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch | |
| parent | 57baca4bc1b681482bc014508d28f7def5949c33 (diff) | |
| download | meta-openembedded-b8bbcd4dea422be57123d75fbf77db6d33542b06.tar.gz | |
python3-m2crypto: Upgrade to 0.37.1
Unifiy .inc into .bb
Add patches to fix issues with openssl 1.1.x
Remove m2crypto-0.26.4-gcc_macros patch, its no longer needed
Refresh existing patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch | 33 | 
1 files changed, 0 insertions, 33 deletions
| diff --git a/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch b/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch deleted file mode 100644 index 4b64f4613c..0000000000 --- a/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | Do not compute platform, this does not work in cross compile environment | ||
| 2 | since it pokes at the system for getting architecture values | ||
| 3 | |||
| 4 | Upstream-Status: Inappropriate | ||
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 6 | |||
| 7 | Index: M2Crypto-0.30.1/setup.py | ||
| 8 | =================================================================== | ||
| 9 | --- M2Crypto-0.30.1.orig/setup.py | ||
| 10 | +++ M2Crypto-0.30.1/setup.py | ||
| 11 | @@ -160,22 +160,6 @@ class _M2CryptoBuildExt(build_ext.build_ | ||
| 12 | log.debug('self.include_dirs = %s', self.include_dirs) | ||
| 13 | log.debug('self.library_dirs = %s', self.library_dirs) | ||
| 14 | |||
| 15 | - if platform.system() == "Linux": | ||
| 16 | - # For RedHat-based distros, the '-D__{arch}__' option for | ||
| 17 | - # Swig needs to be normalized, particularly on i386. | ||
| 18 | - mach = platform.machine().lower() | ||
| 19 | - if mach in ('i386', 'i486', 'i586', 'i686'): | ||
| 20 | - arch = '__i386__' | ||
| 21 | - elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'): | ||
| 22 | - arch = '__powerpc64__' | ||
| 23 | - elif mach in ('ppc', 'powerpc'): | ||
| 24 | - arch = '__powerpc__' | ||
| 25 | - else: | ||
| 26 | - arch = '__%s__' % mach | ||
| 27 | - self.swig_opts.append('-D%s' % arch) | ||
| 28 | - if mach in ('ppc64le', 'ppc64el'): | ||
| 29 | - self.swig_opts.append('-D_CALL_ELF=2') | ||
| 30 | - | ||
| 31 | self.swig_opts.extend(['-I%s' % i for i in self.include_dirs]) | ||
| 32 | |||
| 33 | # Some Linux distributor has added the following line in | ||
