From deb2ed6800fbdee3eb49680d82b0af0a71758c8d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Jan 01 2009 02:25:44 +0000 Subject: add patch so libprefix is right on sparc64 --- diff --git a/graphviz-2.16.1-sparc64-libpostfix.patch b/graphviz-2.16.1-sparc64-libpostfix.patch new file mode 100644 index 0000000..c45e49b --- /dev/null +++ b/graphviz-2.16.1-sparc64-libpostfix.patch @@ -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 diff --git a/graphviz.spec b/graphviz.spec index f86c701..3dcb0cf 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -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 2.16.1-0.8 +- patch for sparc64 libprefix + * Sun Dec 28 2008 Dennis Gilmore 2.16.1-0.7 - build sparc64 same as ppc64