Commit Graph

15 Commits

Author SHA1 Message Date
Bryan Hundven
ba77b5dab8 strace: Add strace-4.10 patches from debian
https://sources.debian.net/src/strace/4.10-3/debian/patches/

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 19:38:10 -07:00
Daniel Zimmermann
a128e6fb54 debug/strace: pump version to 4.7 and 4.8
Pump version for strace to 4.7 and 4.8.
Add patch from strace mainline.


 Work around conflict between <sys/ptrace.h> and <linux/ptrace.h>

  Since glibc-2.18~39 <sys/ptrace.h> defines ptrace_peeksiginfo_args
  which collides with <linux/ptrace.h>.

   * configure.ac: Check for `struct ptrace_peeksiginfo_args' in
   <sys/ptrace.h>.
   * process.c: Work around potential conflict between <sys/ptrace.h>
   and <linux/ptrace.h> by redefining ptrace_peeksiginfo_args.
   * signal.c: Likewise.
   * syscall.c: Likewise.
   * util.c: Likewise.
   0b4060f61f/

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <67b082cf1cdc8276eb4a.1385366288@haus-VirtualBox>
Patchwork-Id: 293842
2013-11-25 08:56:55 +01:00
Joachim Nilsson
8a84cb332d debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels
Here's a couple of patches to get strace 4.5.19 to configure and build
properly with the latest kernel headers.  Not pretty, but hopefully
enough while we wait for 4.5.20 to be released.

With the current strace-4.5.19 patches I failed to get the configure
script running even on my host environment.  Also, when cross building
the configure script needs to look for the proper system headers to be
able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get:

[EXTRA]    Building strace
[ERROR]    /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976:
error: field 'nl' has incomplete type
[ERROR]    make[2]: *** [net.o] Error 1
[ERROR]    make[1]: *** [all] Error 2

The fix was simple, backport a change set from the git[1] tree and run
autoreconf to update the configure script.

[1] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
2010-01-01 12:17:39 +01:00
Yann E. MORIN"
4ae5060ec8 debug/strace: add latest version, unmarkprevious EXPERIMENTAL
Also propagate the patchset from 4.5.18 to 4.5.19.
2009-10-28 19:00:34 +01:00
Yann E. MORIN"
93e6bcb1c0 /devel/gcc-4.4:
- fix building strace-4.5.18

 -------- diffstat follows --------
 /devel/gcc-4.4/patches/strace/4.5.18/180-arm-EABI-syscalls.patch |   23    23     0     0 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
2009-06-01 13:31:12 +00:00
Yann E. MORIN"
0073c731f4 On 20090131.1659+0100, Vincent Sanders <vince@kyllikki.org> wrote:
[This] patch is a simple one for strace 4.5.17 .They altered the
  exported kernel headers post 2.6.26 and removed a header. This patch
  is a backport from the strace revision system. This allows strace to
  be built with 2.6.27 and later kernel versions

 /trunk/patches/strace/4.5.17/190-dirent-include.patch |   33    33     0     0 +++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
2009-01-31 17:47:10 +00:00
Yann E. MORIN"
b6b1bec022 Make strace 4.5.17 and 4.5.18 build with latest uClibc (which no longer install cachectl.h).
Patch from OpenEmbedded, by Khem (RAJ?), and forwarded by Joachim NILSSON.

 /trunk/patches/strace/4.5.17/180-no_cachectl.patch |   35    35     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/strace/4.5.18/170-no_cachectl.patch |   35    35     0     0 ++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
2008-11-16 20:37:39 +00:00
Yann E. MORIN"
d64cca93c6 Update strace to 4.5.17:
- forward-port the patchset from strace-4.5.16 to 4.5.17
- add a new patch from  Michael Abbott (#170)

 /trunk/patches/strace/4.5.17/100-autoreconf.patch                      |   16    10     6     0 ++--
 /trunk/patches/strace/4.5.17/150-undef-CTL_PROC.patch                  |    8     6     2     0 +-
 /trunk/patches/strace/4.5.17/140-statfs64-check.patch                  |   28    16    12     0 ++++---
 /trunk/patches/strace/4.5.17/160-undef-syscall.patch                   |   24    14    10     0 +++---
 /trunk/patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch     |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/120-fix-arm-bad-syscall.patch             |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/130-fix-disabled-largefile-syscalls.patch |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/170-arm-syscalls.patch                    |   42    42     0     0 ++++++++++
 /trunk/config/debug/strace.in                                          |    5     5     0     0 +
 9 files changed, 114 insertions(+), 39 deletions(-)
2008-10-25 15:44:05 +00:00
Yann E. MORIN"
df6440c35e Add strace 4.5.18:
- propagated the 4.5.16 patch set
 - EXPERIMENTAL, as it does not build on at least ARM

 /trunk/patches/strace/4.5.18/160-undef-syscall.patch |   22     0    22     0 ----------------------
 /trunk/config/debug/strace.in                        |    6     6     0     0 ++++++
 2 files changed, 6 insertions(+), 22 deletions(-)
2008-10-20 20:09:14 +00:00
Yann E. MORIN"
6317df4779 Fourth step at renaming patches: renumber all patches with a 10-step. 2008-07-28 21:32:33 +00:00
Yann E. MORIN"
3bf3f54ed1 Third go at renaming patches to contain neither the package name nor the package version. 2008-07-28 21:08:01 +00:00
Yann E. MORIN"
eb0ad87b2a Robert P. J. DAY says:
Add support for the selection of strace-4.5.16, including an updated
set of patches from strace-4.5.15.
2008-02-15 21:18:10 +00:00
Yann E. MORIN"
ca06c37200 Update and fix a patch to strace. 2007-07-16 18:58:40 +00:00
Yann E. MORIN"
e4d94b871c Re-diff strace patches against current version. 2007-07-14 17:34:54 +00:00
Yann E. MORIN"
1aa5c8cf73 Add patches for strace 4.5.15. 2007-07-14 17:02:05 +00:00