[uxlaunch/f14/master] - add support for s390(x)

Dan Horák sharkcz at fedoraproject.org
Fri Sep 24 19:41:28 UTC 2010


commit 435a9a97fcb0258fc3a5ee40bc096359048c26f3
Author: Dan Horák <dan at danny.cz>
Date:   Fri Sep 24 21:40:48 2010 +0200

    - add support for s390(x)

 uxlaunch-0.56-s390.patch |   12 ++++++++++++
 uxlaunch.spec            |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/uxlaunch-0.56-s390.patch b/uxlaunch-0.56-s390.patch
new file mode 100644
index 0000000..2e91ffa
--- /dev/null
+++ b/uxlaunch-0.56-s390.patch
@@ -0,0 +1,12 @@
+diff -up uxlaunch-0.56/desktop.c.s390 uxlaunch-0.56/desktop.c
+--- uxlaunch-0.56/desktop.c.s390	2010-09-24 21:34:28.000000000 +0200
++++ uxlaunch-0.56/desktop.c	2010-09-24 21:35:14.000000000 +0200
+@@ -35,6 +35,8 @@
+ #  define __NR_ioprio_set 314
+ #elif defined (__powerpc__)
+ #  define __NR_ioprio_set 273
++#elif defined (__s390__)
++#  define __NR_ioprio_set 282
+ #else
+ #  error "Unsupported arch"
+ #endif
diff --git a/uxlaunch.spec b/uxlaunch.spec
index d4b4e6f..cc0c3b1 100644
--- a/uxlaunch.spec
+++ b/uxlaunch.spec
@@ -5,13 +5,14 @@
 
 Name:          uxlaunch
 Version:       0.56
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       A small and quick interface to start the Moblin Desktop
 
 Group:         User Interface/X
 License:       GPLv2
 URL:           http://www.meego.com/
 Source0:       %{tarfile}
+Patch0:        %{name}-0.56-s390.patch
 
 BuildRequires: ConsoleKit-devel
 BuildRequires: dbus-glib-devel
@@ -26,6 +27,7 @@ designed to get the Moblin Desktop running as quick as possible.
 
 %prep
 %setup -q
+%patch0 -p1 -b .s390
 
 # make build verbose
 sed -i 's!^\(\t\+\)@!\1!' Makefile
@@ -53,6 +55,9 @@ rm -rf %{buildroot}
 %doc %{_datadir}/man/man1/uxlaunch.1.gz
 
 %changelog
+* Fri Sep 24 2010 Dan Horák <dan[at]danny.cz> 0.56-2
+- add support for s390(x)
+
 * Tue Sep  7 2010 Peter Robinson <pbrobinson at gmail.com> 0.56-1
 - New upstream 0.56 release
 


More information about the scm-commits mailing list