rpms/chrony/devel chrony-1.23-s390.patch, NONE, 1.1 chrony.spec, 1.3, 1.4

Dan Horák sharkcz at fedoraproject.org
Mon Jun 8 08:02:20 UTC 2009


Author: sharkcz

Update of /cvs/pkgs/rpms/chrony/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31659

Modified Files:
	chrony.spec 
Added Files:
	chrony-1.23-s390.patch 
Log Message:
* Mon Jun 08 2009 Dan Horak <dan[at]danny.cz> 1.23-5.20081106gitbe42b4
- add patch with support for s390/s390x


chrony-1.23-s390.patch:

--- NEW FILE chrony-1.23-s390.patch ---
--- chrony-1.23/io_linux.h.orig	2009-06-08 09:25:23.000000000 +0200
+++ chrony-1.23/io_linux.h	2009-06-08 09:26:24.000000000 +0200
@@ -6,7 +6,8 @@
 
 /* Hmm.  These constants vary a bit between systems. */
 /* (__sh__ includes both sh and sh64) */
-#if defined(__i386__) || defined(__sh__) || defined(__arm__)||defined(__x86_64__)
+/* (__s390__ includes both s390 and s390x) */
+#if defined(__i386__) || defined(__sh__) || defined(__arm__)||defined(__x86_64__) || defined(__s390__)
 #define CHRONY_IOC_NRBITS	8
 #define CHRONY_IOC_TYPEBITS	8
 #define CHRONY_IOC_SIZEBITS	14


Index: chrony.spec
===================================================================
RCS file: /cvs/pkgs/rpms/chrony/devel/chrony.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- chrony.spec	9 Mar 2009 14:15:41 -0000	1.3
+++ chrony.spec	8 Jun 2009 08:01:49 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           chrony
 Version:        1.23
-Release:        4.20081106gitbe42b4%{?dist}
+Release:        5.20081106gitbe42b4%{?dist}
 Summary:        An NTP client/server
 
 Group:          System Environment/Daemons
@@ -19,6 +19,7 @@ Patch2:         chrony-1.23-ppc.patch
 Patch3:         chrony-1.23-gethost.patch
 Patch4:         chrony-1.23-res.patch
 Patch5:         chrony-1.23-cap.patch
+Patch6:         chrony-1.23-s390.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libcap-devel readline-devel bison texinfo
@@ -42,6 +43,7 @@ cp -p %{SOURCE6} .
 %patch3 -p1 -b .gethost
 %patch4 -p1 -b .res
 %patch5 -p1 -b .cap
+%patch6 -p1 -b .s390
 
 # don't link with ncurses
 sed -i 's|-lncurses||' configure
@@ -123,6 +125,9 @@ fi
 %dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
 
 %changelog
+* Mon Jun 08 2009 Dan Horak <dan[at]danny.cz> 1.23-5.20081106gitbe42b4
+- add patch with support for s390/s390x
+
 * Mon Mar 09 2009 Miroslav Lichvar <mlichvar at redhat.com> 1.23-4.20081106gitbe42b4
 - fix building with broken libcap header (#483548)
 




More information about the fedora-extras-commits mailing list