Skip to contentSkip to conversation

python-m2crypto: inherit siteinfo

PATCH New [email protected] 1 participant 1 message Nov 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-m2crypto: inherit siteinfo

From: Kai Kang <[email protected]>

In recipe of python-m2crypto, it uses var SITEINFO_BITS which is from siteinfo.bbclass. Inherit siteinfo.bbclass to avoid compile error:

| .../tmp/sysroots/qemumips64/usr/include/openssl/opensslconf.h:47:
| Error: CPP #error ""Unknown __WORDSIZE detected"".
| Use the -cpperraswarn option to continue swig processing.
| error: command 'swig' failed with exit status 1
---
 meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb +1 -1
index 73d8bb1..ab665d4 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15
 SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch "
 
 PYPI_PACKAGE = "M2Crypto"
-inherit pypi setuptools
+inherit pypi setuptools siteinfo
 
 DEPENDS += "openssl swig-native"
 
Signature · 1 line
2.10.1