Remove the include <linux/ptrace.h> from events.c of ltrace
PATCH 1/1 Remove the include <linux/ptrace.h> from events.c of ltrace
Previously, I added include <linux/ptrace.h> which lets the ltrace compilation successfully based on glibc-2.6.1. This is not a bug of ltrace but of glibc-2.6.1. This commit revert the previous change.
--- .../files/ltrace-fix-ptrace-event-macros.patch | 12 ------------ recipes/ltrace/ltrace_0.5.3.bb | 3 +-- 2 files changed, 1 insertions(+), 14 deletions(-) delete mode 100644 recipes/ltrace/files/ltrace-fix-ptrace-event-macros.patch
recipes/ltrace/files/ltrace-fix-ptrace-event-macros.patch deleted +0 -12
@@ -1,12 +0,0 @@ -Index: ltrace-0.5.3/sysdeps/linux-gnu/events.c -=================================================================== ---- ltrace-0.5.3.orig/sysdeps/linux-gnu/events.c 2009-12-24 15:58:24.000000000 +0800 -+++ ltrace-0.5.3/sysdeps/linux-gnu/events.c 2009-12-24 15:58:41.000000000 +0800 -@@ -8,6 +8,7 @@ - #include <signal.h> - #include <string.h> - #include <sys/ptrace.h> -+#include <linux/ptrace.h> - - #include "common.h" -
recipes/ltrace/ltrace_0.5.3.bb +1 -2
@@ -4,7 +4,7 @@ SECTION = "devel" DEPENDS = "libelf" LICENSE = "GPLv2" -PR = "r2" +PR = "r3" SRC_URI = "\ ${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}.orig.tar.gz \
@@ -14,7 +14,6 @@ SRC_URI = "\ file://ltrace-mips-remove-CP.patch;patch=1 \ file://ltrace-mips.patch;patch=1 \ file://ltrace-ppc.patch;patch=1 \ - file://ltrace-fix-ptrace-event-macros.patch;patch=1 \ " inherit autotools
Signature · 1 line
1.5.4.3