OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [email protected] Module: openpkg-src Date: 12-Mar-2009 19:38:04 Branch: HEAD Handle: 2009031218380400 Modified files: openpkg-src/graphviz graphviz.patch graphviz.spec Log: fix building under with_perl=yes Summary: Revision Changes Path 1.17 +12 -0 openpkg-src/graphviz/graphviz.patch 1.88 +2 -1 openpkg-src/graphviz/graphviz.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/graphviz/graphviz.patch ============================================================================ $ cvs diff -u -r1.16 -r1.17 graphviz.patch --- openpkg-src/graphviz/graphviz.patch 11 Mar 2009 19:54:44 -0000 1.16 +++ openpkg-src/graphviz/graphviz.patch 12 Mar 2009 18:38:04 -0000 1.17 @@ -82,3 +82,15 @@ #if defined(HAVE_LIBGD) && defined(HAVE_GD_FREETYPE) /* fontsize at which text is omitted entirely */ +Index: GraphViz-Data-Structure-0.17/Makefile.PL +--- GraphViz-Data-Structure-0.17/Makefile.PL.orig 2007-09-13 20:17:00 +0200 ++++ GraphViz-Data-Structure-0.17/Makefile.PL 2009-03-12 17:36:27 +0100 +@@ -8,7 +8,7 @@ + die "You must install the graphviz package (http://www.graphviz.org) before using this module.\n"; + } + else { +- my (@v) = ($dot_version =~ /dot (?:- Graphviz )?version (\d+)\.(\d+)/); ++ my (@v) = ($dot_version =~ /dot (?:- Graphviz )?version (\d+)\.(\d+)/i); + if ( $v[0] < 2 || $v[1] < 2 ) { + die "You must have at least version 2.2 of dot to use this module (found $v[0].$v[1])"; + } @@ . patch -p0 <<'@@ .' Index: openpkg-src/graphviz/graphviz.spec ============================================================================ $ cvs diff -u -r1.87 -r1.88 graphviz.spec --- openpkg-src/graphviz/graphviz.spec 11 Mar 2009 19:54:44 -0000 1.87 +++ openpkg-src/graphviz/graphviz.spec 12 Mar 2009 18:38:04 -0000 1.88 @@ -37,7 +37,7 @@ Group: Diagram License: GPL Version: %{V_graphviz} -Release: 20090311 +Release: 20090312 # package options %option with_x11 no @@ -163,6 +163,7 @@ %if "%{with_perl}" == "yes" # build Perl API %{l_prefix}/bin/perl-openpkg prepare + ln cmd/dot/dot_static cmd/dot/dot PATH="`pwd`/cmd/dot:$PATH" %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List [email protected]
