From 4b1e2a1cce808c70c57f35c6d53f424c557fcb0ffbf19c2e64ec9668797b59c5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 8 Jul 2010 08:04:57 +0000 Subject: [PATCH 1/3] Accepting request 42665 from home:jengelh:sparc Copy from home:jengelh:sparc/strace via accept of submit request 42665 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/42665 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=9 --- strace-sparc-proto.diff | 21 +++++++++++++++++++++ strace.changes | 6 ++++++ strace.spec | 10 ++++++++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 strace-sparc-proto.diff diff --git a/strace-sparc-proto.diff b/strace-sparc-proto.diff new file mode 100644 index 0000000..a1b7678 --- /dev/null +++ b/strace-sparc-proto.diff @@ -0,0 +1,21 @@ +--- + 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) diff --git a/strace.changes b/strace.changes index cd630fd..da5fb66 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/strace.spec b/strace.spec index cbfed2f..511d1a1 100644 --- a/strace.spec +++ b/strace.spec @@ -33,6 +33,7 @@ Summary: A utility to trace the system calls of a program Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.bz2 Source2: baselibs.conf Patch: strace-%{version}.diff +Patch2: strace-sparc-proto.diff Url: http://sourceforge.net/projects/strace/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -52,14 +53,19 @@ Authors: %prep %setup -q %patch -p1 +%patch2 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" %ifarch alpha CFLAGS="$CFLAGS -ffixed-8" %endif -./configure --prefix=%{_prefix} --mandir=%{_mandir} -make +./configure \ +%ifarch %sparc + --host=%_target_platform \ +%endif + --prefix=%{_prefix} --mandir=%{_mandir} +make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT From 7d0725722cc60eb96c1e4c310503a42a6793b8d20a70a567438fc2f9628137e6 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 27 Sep 2010 14:04:03 +0000 Subject: [PATCH 2/3] 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 --- strace-sparc-proto.diff | 21 --------------------- strace.changes | 6 ------ strace.spec | 10 ++-------- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 strace-sparc-proto.diff diff --git a/strace-sparc-proto.diff b/strace-sparc-proto.diff deleted file mode 100644 index a1b7678..0000000 --- a/strace-sparc-proto.diff +++ /dev/null @@ -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) diff --git a/strace.changes b/strace.changes index da5fb66..cd630fd 100644 --- a/strace.changes +++ b/strace.changes @@ -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 diff --git a/strace.spec b/strace.spec index 511d1a1..cbfed2f 100644 --- a/strace.spec +++ b/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 Source2: baselibs.conf Patch: strace-%{version}.diff -Patch2: strace-sparc-proto.diff Url: http://sourceforge.net/projects/strace/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -53,19 +52,14 @@ Authors: %prep %setup -q %patch -p1 -%patch2 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" %ifarch alpha CFLAGS="$CFLAGS -ffixed-8" %endif -./configure \ -%ifarch %sparc - --host=%_target_platform \ -%endif - --prefix=%{_prefix} --mandir=%{_mandir} -make %{?_smp_mflags} +./configure --prefix=%{_prefix} --mandir=%{_mandir} +make %install make install DESTDIR=$RPM_BUILD_ROOT From af868e4df2d345c0eefca26541a4445060b46fbcb619ae8c92aca1fac896ec1f Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 27 Sep 2010 14:04:04 +0000 Subject: [PATCH 3/3] Updating link to change in openSUSE:Factory/strace revision 24.0 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=e38c826569f62ad87b1a65f34f03b46c --- strace-sparc-proto.diff | 21 +++++++++++++++++++++ strace.changes | 6 ++++++ strace.spec | 12 +++++++++--- 3 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 strace-sparc-proto.diff diff --git a/strace-sparc-proto.diff b/strace-sparc-proto.diff new file mode 100644 index 0000000..a1b7678 --- /dev/null +++ b/strace-sparc-proto.diff @@ -0,0 +1,21 @@ +--- + 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) diff --git a/strace.changes b/strace.changes index cd630fd..da5fb66 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/strace.spec b/strace.spec index cbfed2f..5f76a97 100644 --- a/strace.spec +++ b/strace.spec @@ -28,11 +28,12 @@ Obsoletes: strace-64bit %endif # Version: 4.5.20 -Release: 1 +Release: 4 Summary: A utility to trace the system calls of a program Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.bz2 Source2: baselibs.conf Patch: strace-%{version}.diff +Patch2: strace-sparc-proto.diff Url: http://sourceforge.net/projects/strace/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -52,14 +53,19 @@ Authors: %prep %setup -q %patch -p1 +%patch2 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" %ifarch alpha CFLAGS="$CFLAGS -ffixed-8" %endif -./configure --prefix=%{_prefix} --mandir=%{_mandir} -make +./configure \ +%ifarch %sparc + --host=%_target_platform \ +%endif + --prefix=%{_prefix} --mandir=%{_mandir} +make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT