Skip to contentSkip to conversation

enlightenment: disable ptrace for ppc & sparc

PATCH New Gustavo Zacarias 2 participants 2 messages Sep 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 enlightenment: disable ptrace for ppc & sparc

The sys/ptrace.h header for uclibc <= 0.9.33.2 is incomplete and lacks required definitions for powerpc and sparc.
Fixes:
http://autobuild.buildroot.net/results/a7f/a7f95353f5592a9399c542d8d56c3ca040f8a61a/

---
 package/enlightenment/enlightenment.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/enlightenment/enlightenment.mk +5 -0
index 389636d..64e3d9e 100644
@@ -28,6 +28,11 @@ ENLIGHTENMENT_CONF_OPT = --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 			 --with-eet-eet=$(HOST_DIR)/usr/bin/eet \
 			 --disable-rpath
 
+# uClibc has an old incomplete sys/ptrace.h for powerpc & sparc
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_powerpc)$(BR2_sparc),yy)
+ENLIGHTENMENT_CONF_ENV += ac_cv_header_sys_ptrace_h=no
+endif
+
 # alsa backend needs mixer support
 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
 ENLIGHTENMENT_DEPENDENCIES += alsa-lib
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 enlightenment: disable ptrace for ppc & sparc

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

The sys/ptrace.h header for uclibc <= 0.9.33.2 is incomplete and lacks required definitions for powerpc and sparc.
Fixes:
http://autobuild.buildroot.net/results/a7f/a7f95353f5592a9399c542d8d56c3ca040f8a61a/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard