Added a check for the ARM arch (bz 351071)
This commit is contained in:
parent
cb948a3f79
commit
065b21b351
|
@ -0,0 +1,23 @@
|
||||||
|
commit 3f947c093f828629c2fc5624aa3ad8c7465f76d1
|
||||||
|
Author: Steve Dickson <steved@redhat.com>
|
||||||
|
Date: Thu Oct 25 10:55:57 2007 -0400
|
||||||
|
|
||||||
|
Added " || defined(__arm__)" to xdr_float.c which allows libtirpc
|
||||||
|
to build on ARM processors.
|
||||||
|
|
||||||
|
Author-by: Lennert Buytenhek <buytenh@wantstofly.org>
|
||||||
|
Signed-off-by: Steve Dickson <steved@redhat.com>
|
||||||
|
|
||||||
|
diff --git a/src/xdr_float.c b/src/xdr_float.c
|
||||||
|
index 375e535..d8b22e6 100644
|
||||||
|
--- a/src/xdr_float.c
|
||||||
|
+++ b/src/xdr_float.c
|
||||||
|
@@ -59,7 +59,7 @@
|
||||||
|
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
|
||||||
|
defined(__arm32__) || defined(__ppc__) || defined(__ia64__) || \
|
||||||
|
defined(__arm26__) || defined(__sparc64__) || defined(__amd64__) || \
|
||||||
|
- defined(__powerpc__) || defined(__s390__)
|
||||||
|
+ defined(__powerpc__) || defined(__s390__) || defined(__arm__)
|
||||||
|
#include <bits/endian.h>
|
||||||
|
#define IEEEFP
|
||||||
|
#endif
|
|
@ -1,6 +1,6 @@
|
||||||
Name: libtirpc
|
Name: libtirpc
|
||||||
Version: 0.1.7
|
Version: 0.1.7
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: Transport Independent RPC Library
|
Summary: Transport Independent RPC Library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPL
|
License: GPL
|
||||||
|
@ -43,6 +43,7 @@ Patch10: libtirpc-0.1.7-snprintf.patch
|
||||||
Patch11: libtirpc-0.1.7-bindresvport-ntohs.patch
|
Patch11: libtirpc-0.1.7-bindresvport-ntohs.patch
|
||||||
Patch12: libtirpc-0.1.7-dgcall-iprecverr.patch
|
Patch12: libtirpc-0.1.7-dgcall-iprecverr.patch
|
||||||
Patch13: libtirpc-0.1.7-svc-rtaddr.patch
|
Patch13: libtirpc-0.1.7-svc-rtaddr.patch
|
||||||
|
Patch14: libtirpc-0.1.7-arm.patch
|
||||||
|
|
||||||
Patch100: libtirpc-0.1.7-compile.patch
|
Patch100: libtirpc-0.1.7-compile.patch
|
||||||
|
|
||||||
|
@ -66,6 +67,7 @@ developing programs which use the tirpc library.
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
|
%patch14 -p1
|
||||||
|
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
|
|
||||||
|
@ -145,7 +147,10 @@ rm -rf %{buildroot}
|
||||||
%{_includedir}/tirpc/un-namespace.h
|
%{_includedir}/tirpc/un-namespace.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-12
|
* Thu Oct 25 2007 Steve Dickson <steved@redhat.com> 0.1.7-13
|
||||||
|
- Added a check for the ARM arch (bz 351071)
|
||||||
|
|
||||||
|
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-12
|
||||||
- Switch the libgssapi dependency to libgssglue
|
- Switch the libgssapi dependency to libgssglue
|
||||||
|
|
||||||
* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.7-11
|
* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.7-11
|
||||||
|
|
Loading…
Reference in New Issue