- Backport patch from upstream graphviz to fix broken powerpc-darwin
workaround that prevented this from building on ppc64 (#569454)
This commit is contained in:
parent
1d9da91d40
commit
a94d6db404
|
@ -0,0 +1,15 @@
|
||||||
|
Index: graphviz-2.26.0/configure
|
||||||
|
===================================================================
|
||||||
|
--- graphviz-2.26.0.orig/configure
|
||||||
|
+++ graphviz-2.26.0/configure
|
||||||
|
@@ -27576,7 +27576,9 @@ fi
|
||||||
|
else
|
||||||
|
RUBY_INCLUDES="-I`$RUBY $srcdir/config/config_ruby.rb INCLUDES`"
|
||||||
|
# hack for powerpc-darwin8 (10.4)
|
||||||
|
- RUBY_INCLUDES=`echo $RUBY_INCLUDES | sed 's/powerpc/universal/'`
|
||||||
|
+ if test "x$DARWIN" = "xyes"; then
|
||||||
|
+ RUBY_INCLUDES=`echo $RUBY_INCLUDES | sed 's/powerpc/universal/'`
|
||||||
|
+ fi
|
||||||
|
RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`"
|
||||||
|
RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb archsitelib`"
|
||||||
|
save_CPPFLAGS=$CPPFLAGS
|
|
@ -4,12 +4,13 @@
|
||||||
Name: graphviz
|
Name: graphviz
|
||||||
Summary: Graph Visualization Tools
|
Summary: Graph Visualization Tools
|
||||||
Version: 2.26.0
|
Version: 2.26.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
License: CPL
|
License: CPL
|
||||||
URL: http://www.graphviz.org/
|
URL: http://www.graphviz.org/
|
||||||
Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
|
Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
|
||||||
Patch0: graphviz-sparc64.patch
|
Patch0: graphviz-sparc64.patch
|
||||||
|
Patch1: graphviz-powerpc-ruby-fix.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, expat-devel, freetype-devel >= 2
|
BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, expat-devel, freetype-devel >= 2
|
||||||
BuildRequires: /bin/ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig
|
BuildRequires: /bin/ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig
|
||||||
|
@ -197,6 +198,7 @@ Various tcl packages (extensions) for the graphviz tools.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# %%define NO_IO --disable-io
|
# %%define NO_IO --disable-io
|
||||||
|
@ -406,6 +408,10 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 24 2010 Josh Boyer <jwboyer@gmail.com> 2.26.0-3
|
||||||
|
- Backport patch from upstream graphviz to fix broken powerpc-darwin workaround
|
||||||
|
that prevented this from building on ppc64 (#569454)
|
||||||
|
|
||||||
* Mon Jan 04 2010 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.26.0-2
|
* Mon Jan 04 2010 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.26.0-2
|
||||||
- Rebuild for updated ocaml
|
- Rebuild for updated ocaml
|
||||||
- Happy new year, Fedora!
|
- Happy new year, Fedora!
|
||||||
|
|
Loading…
Reference in New Issue