Added super-H(sh3,4) architecture support (bz 446559)

This commit is contained in:
Steve Dickson 2008-06-27 18:15:10 +00:00
parent 812e01bc08
commit 7d886e50ca
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,23 @@
commit 276e782ef9bb9b7c647edb91707c382e5a38c7c8
Author: CHIKAMA Masaki <masaki.chikama@gmail.com>
Date: Fri Jun 27 14:08:55 2008 -0400
Added super-H(sh3,sh4) architecture support
Signed-off-by: CHIKAMA Masaki <masaki.chikama@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
diff --git a/src/xdr_float.c b/src/xdr_float.c
index d8b22e6..4693ef0 100644
--- a/src/xdr_float.c
+++ b/src/xdr_float.c
@@ -59,7 +59,8 @@
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
defined(__arm32__) || defined(__ppc__) || defined(__ia64__) || \
defined(__arm26__) || defined(__sparc64__) || defined(__amd64__) || \
- defined(__powerpc__) || defined(__s390__) || defined(__arm__)
+ defined(__powerpc__) || defined(__s390__) || defined(__arm__) || \
+ defined(__sh__)
#include <bits/endian.h>
#define IEEEFP
#endif

View File

@ -1,6 +1,6 @@
Name: libtirpc
Version: 0.1.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Transport Independent RPC Library
Group: System Environment/Libraries
License: GPL
@ -32,6 +32,7 @@ Requires(devel): pkgconfig man
Patch1: libtirpc-0.1.7-svcauthnone.patch
Patch2: libtirpc-0.1.7-svc-run.patch
Patch3: libtirpc-0.1.8-superH-support.patch
Patch100: libtirpc-0.1.7-compile.patch
@ -44,6 +45,8 @@ developing programs which use the tirpc library.
%setup -q
%patch1 -p1
%patch2 -p1
# 446559: Add super-H(sh3,4) architecture support.
%patch3 -p1
%patch100 -p1
@ -142,6 +145,9 @@ rm -rf %{buildroot}
%{_mandir}/*/*
%changelog
* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.8-2
- Added super-H(sh3,4) architecture support (bz 446559)
* Tue Jun 10 2008 Steve Dickson <steved@redhat.com> 0.1.8-1
- Update to latest upstream version 0.1.8