libtirpc/libtirpc-0.1.7-arm.patch
2007-10-25 17:52:20 +00:00

24 lines
869 B
Diff

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