Skip to contentSkip to conversation

python-smbus: upgrade to 3.1.1

PATCH Superseded Peter A. Bigot 1 participant 2 messages Aug 3, 2014 – Aug 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-smbus: upgrade to 3.1.1

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

---
 .../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%)
meta-python/recipes-devtools/python/python-smbus_3.1.1.bb renamed from meta-python/recipes-devtools/python/python-smbus_3.0.3.bb +6 -2
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
@@ -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() {
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH v2 1/1 python-smbus: upgrade to 3.1.1

---
V2 changes: Remove SECURITY_CFLAGS setting.
See: http://lists.openembedded.org/pipermail/openembedded-core/2014-August/095269.html

 .../python/{python-smbus_3.0.3.bb => python-smbus_3.1.1.bb}           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-smbus_3.0.3.bb => python-smbus_3.1.1.bb} (79%)
meta-python/recipes-devtools/python/python-smbus_3.1.1.bb renamed from meta-python/recipes-devtools/python/python-smbus_3.0.3.bb +2 -2
similarity index 79%
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..df47df6 100644
@@ -4,8 +4,8 @@ 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"
 
Signature · 1 line
1.8.5.5