add patch so libprefix is right on sparc64

This commit is contained in:
Dennis Gilmore 2009-01-01 02:25:44 +00:00
parent 23477ab95a
commit deb2ed6800
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- graphviz-2.16.1/configure.BAD 2008-12-31 19:16:28.000000000 -0600
+++ graphviz-2.16.1/configure 2008-12-31 19:16:56.000000000 -0600
@@ -2464,7 +2464,7 @@
case "${host_os}" in
*linux* )
case "${host_cpu}" in
- powerpc64 | s390x | x86_64 )
+ powerpc64 | s390x | x86_64 | sparc64 )
LIBPOSTFIX="64"
;;
esac

View File

@ -8,7 +8,7 @@ Name: graphviz
Summary: Graph Visualization Tools
Version: 2.16.1
%define truerelease 0.7
%define truerelease 0.8
%{?distroagnostic: %define release %{truerelease}}
%{!?distroagnostic: %define release %{truerelease}%{?dist}}
@ -21,6 +21,7 @@ Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
Patch0: %{name}-tk8.5.patch
Patch1: %{name}-gcc43.patch
Patch2: %{name}-multilib.patch
Patch3: graphviz-2.16.1-sparc64-libpostfix.patch
# graphviz is relocatable - Caution: this feature is used in AT&T,
# but probably will not be supported in Redhat/Fedora/Centos distros
@ -535,6 +536,7 @@ Provides some additional PDF and HTML documentation for graphviz.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%if ! %{SHARP}
@ -620,6 +622,9 @@ rm -rf %{buildroot}
#-- changelog --------------------------------------------------
%changelog
* Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> 2.16.1-0.8
- patch for sparc64 libprefix
* Sun Dec 28 2008 Dennis Gilmore <dennis@ausil.us> 2.16.1-0.7
- build sparc64 same as ppc64