From 8ceb0e04826d17b903288e07d2712ba5c6a9979e Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Wed, 16 Aug 2006 14:02:35 +0000 Subject: [PATCH] Added compile define for ppc64 archs --- libtirpc-0.1.7-ppc64.patch | 12 ++++++++++++ libtirpc.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 libtirpc-0.1.7-ppc64.patch diff --git a/libtirpc-0.1.7-ppc64.patch b/libtirpc-0.1.7-ppc64.patch new file mode 100644 index 0000000..a3918ba --- /dev/null +++ b/libtirpc-0.1.7-ppc64.patch @@ -0,0 +1,12 @@ +--- libtirpc-0.1.7/src/xdr_float.c.orig 2005-05-18 01:10:50.000000000 -0400 ++++ libtirpc-0.1.7/src/xdr_float.c 2006-08-16 08:41:43.000000000 -0400 +@@ -58,7 +58,8 @@ + #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ + defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \ + defined(__arm32__) || defined(__ppc__) || defined(__ia64__) || \ +- defined(__arm26__) || defined(__sparc64__) || defined(__amd64__) ++ defined(__arm26__) || defined(__sparc64__) || defined(__amd64__) || \ ++ defined(__powerpc64__) + #include + #define IEEEFP + #endif diff --git a/libtirpc.spec b/libtirpc.spec index cac6254..8ed3ffe 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -33,6 +33,7 @@ Requires: pkgconfig Patch1: libtirpc-0.1.7-netconfig.patch Patch2: libtirpc-0.1.7-gssapi.patch Patch3: libtirpc-0.1.7-svcauthnone.patch +Patch4: libtirpc-0.1.7-ppc64.patch Patch100: libtirpc-0.1.7-compile.patch @@ -46,6 +47,7 @@ developing programs which use the tirpc library. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %patch100 -p1 @@ -123,6 +125,7 @@ rm -rf %{buildroot} %changelog * Mon Aug 14 2006 Steve Dickson 0.1.7-3 - Added in svc_auth_none needed by the GSSAPI code. +- Added compile define for ppc64 archs * Fri Aug 11 2006 Steve Dickson 0.1.7-2 - Uncommented tcp6 and udp6 in the default /etc/netconfig file.