[bickley] - add support for s390(x)
Dan Horák
sharkcz at fedoraproject.org
Fri Sep 3 17:09:31 UTC 2010
commit 519eb3cf9de5ea226534b1e3fb67d115ef8fd013
Author: Dan Horák <dan at danny.cz>
Date: Fri Sep 3 19:09:32 2010 +0200
- add support for s390(x)
bickley-s390.patch | 13 +++++++++++++
bickley.spec | 7 ++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/bickley-s390.patch b/bickley-s390.patch
new file mode 100644
index 0000000..8c030b8
--- /dev/null
+++ b/bickley-s390.patch
@@ -0,0 +1,13 @@
+diff -up bickley-0.4.5/src/bkl-investigator.c.s390 bickley-0.4.5/src/bkl-investigator.c
+--- bickley-0.4.5/src/bkl-investigator.c.s390 2010-09-03 18:58:12.000000000 +0200
++++ bickley-0.4.5/src/bkl-investigator.c 2010-09-03 18:58:48.000000000 +0200
+@@ -84,6 +84,9 @@ static BklInvestigator *investigator = N
+ # define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
+ #endif
+ # define __NR_ioprio_set (__NR_SYSCALL_BASE+314)
++#elif defined (__s390__)
++# define HAVE_IO_PRIO
++# define __NR_ioprio_set 282
+ #else
+ # warning "Architecture does not support ioprio modification"
+ #endif
diff --git a/bickley.spec b/bickley.spec
index c0e868a..ad83498 100644
--- a/bickley.spec
+++ b/bickley.spec
@@ -1,6 +1,6 @@
Name: bickley
Version: 0.4.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A meta data management API and framework
Group: Applications/Multimedia
@@ -10,6 +10,7 @@ Source0: http://git.moblin.org/cgit.cgi/%{name}/snapshot/%{name}-%{version
Patch0: bickley-fixppc2.patch
Patch1: bickley-fixdso.patch
Patch2: bickley-arm.patch
+Patch3: bickley-s390.patch
BuildRoot: {_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: clutter-gst-devel
@@ -56,6 +57,7 @@ Files for development with %{name}.
%patch0 -p1 -b .fixppc2
%patch1 -p1 -b .fixdso
%patch2 -p1 -b .arm
+%patch3 -p1 -b .s390
%build
%configure --disable-static
@@ -124,6 +126,9 @@ gconftool-2 --makefile-install-rule \
%{_libdir}/libkozo.so
%changelog
+* Fri Sep 3 2010 Dan Horák <dan[at]danny.cz> 0.4.5-3
+- add support for s390(x)
+
* Mon Jun 28 2010 Peter Robinson <pbrobinson at gmail.com> 0.4.5-1
- Actually upload the new tar file
More information about the scm-commits
mailing list