Skip to contentSkip to conversation

libdrm: Upgrade to 2.4.93

PATCH New Khem Raj 1 participant 2 messages Aug 15, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 libdrm: Upgrade to 2.4.93

---
 .../drm/{libdrm_2.4.92.bb => libdrm_2.4.93.bb}                | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.92.bb => libdrm_2.4.93.bb} (95%)
meta/recipes-graphics/drm/libdrm_2.4.93.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.92.bb +2 -2
similarity index 95%
rename from meta/recipes-graphics/drm/libdrm_2.4.92.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.93.bb
index 9ef31010a4..9219d87e4e 100644
@@ -12,8 +12,8 @@ DEPENDS = "libpthread-stubs"
 
 SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
            file://musl-ioctl.patch"
-SRC_URI[md5sum] = "f9b00d985f82d0be6ecc20c799acc89e"
-SRC_URI[sha256sum] = "e9e48fdb4de139dc4d9880aa1473158a16ff6aff63d14341367bd30a51ff39fa"
+SRC_URI[md5sum] = "0ba45ad1551b2c1b6df0797a3e65f827"
+SRC_URI[sha256sum] = "6e84d1dc9548a76f20b59a85cf80a0b230cd8196084f5243469d9e65354fcd3c"
 
 inherit meson pkgconfig manpages
 
Signature · 1 line
2.18.0
author
#1 lore raw

PATCH 2/2 security_flags: Add PIC to cflags for some recipes on ppc

Fixes issues related out of range R_PPC_REL24
e.g.
/usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/libinput.so.10: R_PPC_REL24 relocation at 0x0e8602c4 for symbol `libevdev_has_event_code' out of range

---
 meta/conf/distro/include/security_flags.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/conf/distro/include/security_flags.inc +3 -0
index 6245e89ada..52e1e4ebc5 100644
@@ -30,6 +30,9 @@ SECURITY_X_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro"
 # powerpc does not get on with pie for reasons not looked into as yet
 SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}"
 SECURITY_CFLAGS_pn-libgcc_powerpc = ""
+SECURITY_CFLAGS_append_powerpc_pn-libdrm = " -fPIC -DPIC"
+SECURITY_CFLAGS_append_powerpc_pn-libinput = " -fPIC -DPIC"
+SECURITY_CFLAGS_append_powerpc_pn-at-spi2-core = " -fPIC -DPIC"
 GCCPIE_powerpc = ""
 GLIBCPIE_powerpc = ""
 
Signature · 1 line
2.18.0