forked from pool/strace
Accepting request 49169 from devel:tools
checked in (request 49169) OBS-URL: https://build.opensuse.org/request/show/49169 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=10
This commit is contained in:
parent
4b1e2a1cce
commit
7d0725722c
@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
linux/sparc/syscall.h | 6 ++++++
|
|
||||||
1 file changed, 6 insertions(+)
|
|
||||||
|
|
||||||
Index: strace-4.5.20/linux/sparc/syscall.h
|
|
||||||
===================================================================
|
|
||||||
--- strace-4.5.20.orig/linux/sparc/syscall.h
|
|
||||||
+++ strace-4.5.20/linux/sparc/syscall.h
|
|
||||||
@@ -215,6 +215,12 @@ int sys_move_pages(), sys_getcpu();
|
|
||||||
int sys_epoll_pwait();
|
|
||||||
int sys_signalfd(), sys_timerfd(), sys_eventfd();
|
|
||||||
|
|
||||||
+int sys_mbind(), sys_get_mempolicy(), sys_set_mempolicy();
|
|
||||||
+int sys_utimensat(), sys_timerfd_create(), sys_fallocate();
|
|
||||||
+int sys_timerfd_settime(), sys_timerfd_gettime(), sys_signalfd4();
|
|
||||||
+int sys_eventfd2(), sys_epoll_create1(), sys_dup3(), sys_pipe2();
|
|
||||||
+int sys_inotify_init1();
|
|
||||||
+
|
|
||||||
# define SYS_socket_subcall 353
|
|
||||||
#define SYS_sub_socket (SYS_socket_subcall + 1)
|
|
||||||
#define SYS_sub_bind (SYS_socket_subcall + 2)
|
|
@ -1,9 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 6 23:19:50 UTC 2010 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC compile fixes
|
|
||||||
- Use %_smp_mflags
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 15 12:35:15 UTC 2010 - jw@novell.com
|
Thu Apr 15 12:35:15 UTC 2010 - jw@novell.com
|
||||||
|
|
||||||
|
10
strace.spec
10
strace.spec
@ -33,7 +33,6 @@ Summary: A utility to trace the system calls of a program
|
|||||||
Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.bz2
|
Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch: strace-%{version}.diff
|
Patch: strace-%{version}.diff
|
||||||
Patch2: strace-sparc-proto.diff
|
|
||||||
Url: http://sourceforge.net/projects/strace/
|
Url: http://sourceforge.net/projects/strace/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -53,19 +52,14 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
%patch -p1
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
%ifarch alpha
|
%ifarch alpha
|
||||||
CFLAGS="$CFLAGS -ffixed-8"
|
CFLAGS="$CFLAGS -ffixed-8"
|
||||||
%endif
|
%endif
|
||||||
./configure \
|
./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
||||||
%ifarch %sparc
|
make
|
||||||
--host=%_target_platform \
|
|
||||||
%endif
|
|
||||||
--prefix=%{_prefix} --mandir=%{_mandir}
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user