rpms/strace/devel strace-4.5.14-sysctl-proc.patch, NONE, 1.1 strace.spec, 1.42, 1.43

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Nov 20 13:38:58 UTC 2006


Author: jakub

Update of /cvs/dist/rpms/strace/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5620

Modified Files:
	strace.spec 
Added Files:
	strace-4.5.14-sysctl-proc.patch 
Log Message:
4.5.14-4

strace-4.5.14-sysctl-proc.patch:
 system.c |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE strace-4.5.14-sysctl-proc.patch ---
--- strace/system.c.jj	2006-01-12 16:21:06.000000000 -0500
+++ strace/system.c	2006-11-20 08:37:07.000000000 -0500
@@ -1574,6 +1574,8 @@ struct tcb *tcp;
 #endif
 
 #ifdef LINUX
+/* Linux 2.6.18+ headers removed CTL_PROC.  */
+# define CTL_PROC 4
 static const struct xlat sysctl_root[] = {
 	{ CTL_KERN, "CTL_KERN" },
 	{ CTL_VM, "CTL_VM" },


Index: strace.spec
===================================================================
RCS file: /cvs/dist/rpms/strace/devel/strace.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- strace.spec	20 Nov 2006 13:22:10 -0000	1.42
+++ strace.spec	20 Nov 2006 13:38:56 -0000	1.43
@@ -10,6 +10,7 @@
 
 Patch1: strace-4.5.14-subcall400.patch
 Patch2: strace-4.5.14-getsiginfo.patch
+Patch3: strace-4.5.14-sysctl-proc.patch
 
 %define strace64_arches ppc64
 
@@ -47,6 +48,7 @@
 
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure
@@ -84,6 +86,7 @@
 * Mon Nov 20 2006 Jakub Jelinek <jakub at redhat.com> - 4.5.14-4
 - Fix ia64 syscall decoding (#206768)
 - Fix build with glibc-2.4.90-33 and up on all arches but ia64
+- Fix build against 2.6.18+ headers
 
 * Tue Aug 22 2006 Roland McGrath <roland at redhat.com> - 4.5.14-3
 - Fix bogus decoding of syscalls >= 300 (#201462, #202620).




More information about the fedora-cvs-commits mailing list