[oe] [PATCH] Remove the include <linux/ptrace.h> from events.c of ltrace
Guo Hongruan
camelguo at gmail.com
Fri Dec 25 03:36:04 UTC 2009
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
diff --git a/recipes/ltrace/files/ltrace-fix-ptrace-event-macros.patch b/recipes/ltrace/files/ltrace-fix-ptrace-event-macros.patch
deleted file mode 100644
index 7232ca8..0000000
--- a/recipes/ltrace/files/ltrace-fix-ptrace-event-macros.patch
+++ /dev/null
@@ -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"
-
diff --git a/recipes/ltrace/ltrace_0.5.3.bb b/recipes/ltrace/ltrace_0.5.3.bb
index 1f70878..ea11b16 100644
--- a/recipes/ltrace/ltrace_0.5.3.bb
+++ b/recipes/ltrace/ltrace_0.5.3.bb
@@ -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
--
1.5.4.3
More information about the Openembedded-devel
mailing list