[packages/strace] - up to 4.8

arekm arekm at pld-linux.org
Mon Jan 27 10:13:35 CET 2014


commit 53cc01c1844933b4b505928d84ca0cbcbde76dc1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jan 27 10:13:32 2014 +0100

    - up to 4.8

 strace-fix-ftbfs.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++
 strace.spec            | 14 +++++---------
 2 files changed, 49 insertions(+), 9 deletions(-)
---
diff --git a/strace.spec b/strace.spec
index 1fcf4b1..93e63cf 100644
--- a/strace.spec
+++ b/strace.spec
@@ -8,18 +8,17 @@ Summary(ru.UTF-8):	Отслеживает и показывает системн
 Summary(tr.UTF-8):	Çalışan bir sürecin yaptığı sistem çağrılarını listeler
 Summary(uk.UTF-8):	Відслідковує та показує системні виклики, пов'язані із запущеним процесом
 Name:		strace
-Version:	4.7
+Version:	4.8
 Release:	1
 License:	BSD-like
 Group:		Development/Debuggers
 Source0:	http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz
-# Source0-md5:	6054c3880a00c6703f83b57f15e04642
+# Source0-md5:	c575ef43829586801f514fd91bfe7575
 Source1:	%{name}.1.pl
+Patch0:		strace-fix-ftbfs.patch
 URL:		http://sourceforge.net/projects/strace/
 # acl and libaio for headers only
 BuildRequires:	acl-devel
-BuildRequires:	autoconf >= 2.57
-BuildRequires:	automake
 BuildRequires:	libaio-devel
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -96,12 +95,9 @@ Doda wtedy upływający czas dla każdego procesu.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
 %configure
 %{__make}
 
@@ -118,7 +114,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYRIGHT CREDITS ChangeLog NEWS README-linux
+%doc COPYING CREDITS ChangeLog NEWS README-linux
 %attr(755,root,root) %{_bindir}/strace
 %attr(755,root,root) %{_bindir}/strace-log-merge
 %{_mandir}/man1/strace.1*
diff --git a/strace-fix-ftbfs.patch b/strace-fix-ftbfs.patch
new file mode 100644
index 0000000..b698cbf
--- /dev/null
+++ b/strace-fix-ftbfs.patch
@@ -0,0 +1,44 @@
+--- strace-4.8/process.c.orig	2013-12-06 16:18:27.682402291 +0000
++++ strace-4.8/process.c	2013-12-06 16:19:14.602165296 +0000
+@@ -63,7 +63,7 @@
+ # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
+ #  define pt_all_user_regs XXX_pt_all_user_regs
+ # endif
+-# include <linux/ptrace.h>
++# include <asm/ptrace.h>
+ # undef ia64_fpreg
+ # undef pt_all_user_regs
+ #endif
+--- strace-4.8/signal.c.orig	2013-12-06 16:28:54.800551324 +0000
++++ strace-4.8/signal.c	2013-12-06 16:30:26.033019415 +0000
+@@ -51,7 +51,7 @@
+ # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
+ #  define pt_all_user_regs XXX_pt_all_user_regs
+ # endif
+-# include <linux/ptrace.h>
++# include <asm/ptrace.h>
+ # undef ia64_fpreg
+ # undef pt_all_user_regs
+ #endif
+--- strace-4.8/syscall.c.orig	2013-12-06 16:29:37.912245321 +0000
++++ strace-4.8/syscall.c	2013-12-06 16:30:55.933500132 +0000
+@@ -48,7 +48,7 @@
+ # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
+ #  define pt_all_user_regs XXX_pt_all_user_regs
+ # endif
+-# include <linux/ptrace.h>
++# include <asm/ptrace.h>
+ # undef ia64_fpreg
+ # undef pt_all_user_regs
+ #endif
+--- strace-4.8/util.c.orig	2013-12-06 16:29:44.382349431 +0000
++++ strace-4.8/util.c	2013-12-06 16:31:04.267634082 +0000
+@@ -55,7 +55,7 @@
+ # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
+ #  define pt_all_user_regs XXX_pt_all_user_regs
+ # endif
+-# include <linux/ptrace.h>
++# include <asm/ptrace.h>
+ # undef ia64_fpreg
+ # undef pt_all_user_regs
+ #endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/strace.git/commitdiff/53cc01c1844933b4b505928d84ca0cbcbde76dc1



More information about the pld-cvs-commit mailing list