]> git.pld-linux.org Git - packages/strace.git/commitdiff
- up to 4.8 auto/th/strace-4.8-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 27 Jan 2014 09:13:32 +0000 (10:13 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 27 Jan 2014 09:13:32 +0000 (10:13 +0100)
strace-fix-ftbfs.patch [new file with mode: 0644]
strace.spec

diff --git a/strace-fix-ftbfs.patch b/strace-fix-ftbfs.patch
new file mode 100644 (file)
index 0000000..b698cbf
--- /dev/null
@@ -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
index 1fcf4b154b0bbd3dcd7751a96842f03610f0991f..93e63cf0576613d39a9b01a1bd25b72c1e4ad83c 100644 (file)
@@ -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*
This page took 0.138222 seconds and 4 git commands to generate.