]> git.pld-linux.org Git - packages/strace.git/blob - strace-linux.patch
added fix to compile on Alpha
[packages/strace.git] / strace-linux.patch
1 diff -urN strace-4.2.org/Makefile.in strace-4.2/Makefile.in
2 --- strace-4.2.org/Makefile.in  Sun Nov  5 17:56:54 2000
3 +++ strace-4.2/Makefile.in      Sun Nov  5 17:57:02 2000
4 @@ -39,8 +39,9 @@
5  prefix = @prefix@
6  exec_prefix = @exec_prefix@
7  
8 -bindir = $(exec_prefix)/bin
9 -man1dir = $(prefix)/man/man1
10 +bindir = @bindir@
11 +mandir = @mandir@
12 +man1dir = $(mandir)/man1
13  man1ext = .1
14  
15  SHELL = /bin/sh
16 diff -urN strace-4.2.org/file.c strace-4.2/file.c
17 --- strace-4.2.org/file.c       Sun Nov  5 17:56:54 2000
18 +++ strace-4.2/file.c   Sun Nov  5 17:57:02 2000
19 @@ -35,11 +35,14 @@
20  #include <dirent.h>
21  #ifdef linux
22  #define dirent kernel_dirent
23 +#define dirent64 kernel_dirent64
24  #include <linux/types.h>
25  #include <linux/dirent.h>
26  #undef dirent
27 +#undef dirent64
28  #else
29  #define kernel_dirent dirent
30 +#define kernel_dirent64 dirent64
31  #endif
32  
33  #ifdef linux
34 @@ -611,7 +614,7 @@
35         realprintstat(tcp, &statbuf);
36  }
37  
38 -#ifdef STAT64
39 +#ifdef HAVE_STAT64
40  static void
41  printstat64(tcp, addr)
42  struct tcb *tcp;
43 diff -urN strace-4.2.org/system.c strace-4.2/system.c
44 --- strace-4.2.org/system.c     Sun Nov  5 17:56:54 2000
45 +++ strace-4.2/system.c Sun Nov  5 17:57:02 2000
46 @@ -1435,6 +1435,9 @@
47         { KERN_PROF, "KERN_PROF" },
48         { KERN_NODENAME, "KERN_NODENAME" },
49         { KERN_DOMAINNAME, "KERN_DOMAINNAME" },
50 +#ifdef KERN_CAP_BSET
51 +       { KERN_CAP_BSET, "KERN_CAP_BSET" },
52 +#endif
53  #ifdef KERN_SECURELVL
54         { KERN_SECURELVL, "KERN_SECURELVL" },
55  #endif
56 diff -urN strace-4.2.org/time.c strace-4.2/time.c
57 --- strace-4.2.org/time.c       Sun Nov  5 17:56:54 2000
58 +++ strace-4.2/time.c   Sun Nov  5 17:57:15 2000
59 @@ -33,7 +33,7 @@
60  
61  #ifdef LINUX
62  #include <linux/version.h>
63 -#include <linux/timex.h>
64 +#include <sys/timex.h>
65  #endif /* LINUX */
66  
67  void
This page took 0.06157 seconds and 4 git commands to generate.