Accepting request 209444 from devel:tools

- Make ppc64le architecture known 
/usr/bin/osc
- added patches:
  * strace-ppc64le.patch (forwarded request 209428 from k0da)

OBS-URL: https://build.opensuse.org/request/show/209444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strace?expand=0&rev=41
This commit is contained in:
Stephan Kulow 2013-12-06 12:52:14 +00:00 committed by Git OBS Bridge
commit dad8d52261
3 changed files with 36 additions and 0 deletions

26
strace-ppc64le.patch Normal file
View File

@ -0,0 +1,26 @@
Index: strace-4.8/configure
===================================================================
--- strace-4.8.orig/configure
+++ strace-4.8/configure
@@ -4660,7 +4660,7 @@ powerpc*)
$as_echo "#define POWERPC 1" >>confdefs.h
- if test $host_cpu = powerpc64; then
+ if test $host_cpu = powerpc64 || test $host_cpu = powerpc64le ; then
$as_echo "#define POWERPC64 1" >>confdefs.h
Index: strace-4.8/configure.ac
===================================================================
--- strace-4.8.orig/configure.ac
+++ strace-4.8/configure.ac
@@ -54,7 +54,7 @@ alpha*)
powerpc*)
arch=powerpc
AC_DEFINE([POWERPC], 1, [Define for the PowerPC architecture.])
- if test $host_cpu = powerpc64; then
+ if test $host_cpu = powerpc64 || test $host_cpu = powerpc64le; then
AC_DEFINE([POWERPC64], 1, [Define for the PowerPC64 architecture.])
fi
;;

View File

@ -1,4 +1,12 @@
-------------------------------------------------------------------
Wed Dec 4 16:27:29 UTC 2013 - dvaleev@suse.com
- Make ppc64le architecture known
/usr/bin/osc
- added patches:
* strace-ppc64le.patch
-------------------------------------------------------------------
Wed Aug 14 09:11:17 UTC 2013 - schwab@suse.de
- strace-linux-ptrace-h.patch: handle conflict with struct

View File

@ -32,6 +32,7 @@ Source3: %name.keyring
Source4: baselibs.conf
Patch1: strace-4.7.diff
Patch2: strace-linux-ptrace-h.patch
Patch3: strace-ppc64le.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libacl-devel
BuildRequires: libaio-devel
@ -63,6 +64,7 @@ Authors:
%setup -q
%patch -P 1 -p1
%patch2 -p1
%patch3 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"