[oe] [meta-python][PATCH] python-smbus: upgrade to 3.1.1

Peter A. Bigot pab at pabigot.com
Sun Aug 3 20:32:38 UTC 2014


Also use SECURITY_NO_PIE_CFLAGS as with other python modules to avoid
undefined reference to main during link.

Signed-off-by: Peter A. Bigot <pab at pabigot.com>
---
 .../python/{python-smbus_3.0.3.bb => python-smbus_3.1.1.bb}       | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-smbus_3.0.3.bb => python-smbus_3.1.1.bb} (66%)

diff --git a/meta-python/recipes-devtools/python/python-smbus_3.0.3.bb b/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
similarity index 66%
rename from meta-python/recipes-devtools/python/python-smbus_3.0.3.bb
rename to meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
index 14548a9..455ec1e 100644
--- a/meta-python/recipes-devtools/python/python-smbus_3.0.3.bb
+++ b/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
@@ -4,13 +4,17 @@ LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a52
 
 SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
 "
-SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
-SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
+SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1"
+SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700"
 
 DEPENDS = "i2c-tools"
 
 inherit distutils
 
+# Presence of -pie in smbus.so link command causes undefined reference
+# to main
+SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
+
 S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/"
 
 do_configure_prepend() {
-- 
1.8.5.5




More information about the Openembedded-devel mailing list