From 065b21b351442abd051b48cdf510c2a0ee0bd869 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Thu, 25 Oct 2007 17:52:20 +0000 Subject: [PATCH] Added a check for the ARM arch (bz 351071) --- libtirpc-0.1.7-arm.patch | 23 +++++++++++++++++++++++ libtirpc.spec | 9 +++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 libtirpc-0.1.7-arm.patch diff --git a/libtirpc-0.1.7-arm.patch b/libtirpc-0.1.7-arm.patch new file mode 100644 index 0000000..d74319c --- /dev/null +++ b/libtirpc-0.1.7-arm.patch @@ -0,0 +1,23 @@ +commit 3f947c093f828629c2fc5624aa3ad8c7465f76d1 +Author: Steve Dickson +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 + Signed-off-by: Steve Dickson + +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 + #define IEEEFP + #endif diff --git a/libtirpc.spec b/libtirpc.spec index 0e27d1d..b7e9d65 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -1,6 +1,6 @@ Name: libtirpc Version: 0.1.7 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Transport Independent RPC Library Group: System Environment/Libraries License: GPL @@ -43,6 +43,7 @@ Patch10: libtirpc-0.1.7-snprintf.patch Patch11: libtirpc-0.1.7-bindresvport-ntohs.patch Patch12: libtirpc-0.1.7-dgcall-iprecverr.patch Patch13: libtirpc-0.1.7-svc-rtaddr.patch +Patch14: libtirpc-0.1.7-arm.patch Patch100: libtirpc-0.1.7-compile.patch @@ -66,6 +67,7 @@ developing programs which use the tirpc library. %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %patch100 -p1 @@ -145,7 +147,10 @@ rm -rf %{buildroot} %{_includedir}/tirpc/un-namespace.h %changelog -* Wed Oct 17 2007 Steve Dickson 0.1.7-12 +* Thu Oct 25 2007 Steve Dickson 0.1.7-13 +- Added a check for the ARM arch (bz 351071) + +* Wed Oct 17 2007 Steve Dickson 0.1.7-12 - Switch the libgssapi dependency to libgssglue * Mon Oct 15 2007 Steve Dickson 0.1.7-11