packages: graphviz/graphviz.spec, graphviz/swig_php5.patch (NEW) - new (1.3...

sls sls at pld-linux.org
Mon Oct 26 06:53:15 CET 2009


Author: sls                          Date: Mon Oct 26 05:53:14 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new (1.3.36 < new <= 1.3.40) swig renamed php switch, so:
- added swig_php5.patch
- BR: swig-php >= 1.3.40

---- Files affected:
packages/graphviz:
   graphviz.spec (1.97 -> 1.98) , swig_php5.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/graphviz/graphviz.spec
diff -u packages/graphviz/graphviz.spec:1.97 packages/graphviz/graphviz.spec:1.98
--- packages/graphviz/graphviz.spec:1.97	Mon Oct 26 04:52:24 2009
+++ packages/graphviz/graphviz.spec	Mon Oct 26 06:53:09 2009
@@ -34,6 +34,7 @@
 Patch5:		%{name}-lua51.patch
 Patch6:		%{name}-php_modules_dir.patch
 Patch7:		gv.i.patch
+Patch8:		swig_php5.patch
 URL:		http://www.graphviz.org/
 BuildRequires:	autoconf >= 2.59-9
 BuildRequires:	automake
@@ -78,7 +79,7 @@
 BuildRequires:	swig
 BuildRequires:	swig-guile
 BuildRequires:	swig-perl
-BuildRequires:	swig-php >= 1.3.30
+BuildRequires:	swig-php >= 1.3.40
 BuildRequires:	swig-python
 BuildRequires:	swig-ruby
 BuildRequires:	swig-tcl
@@ -259,6 +260,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 # not used for anything
 sed -i -e 's/libgnomeui-2.0/libgnomeui-disabled/' configure.ac
@@ -514,6 +516,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2009/10/26 05:53:09  sls
+- new (1.3.36 < new <= 1.3.40) swig renamed php switch, so:
+- added swig_php5.patch
+- BR: swig-php >= 1.3.40
+
 Revision 1.97  2009/10/26 03:52:24  sls
 - added gv.i.patch (fix for compilation tcl bindings from Fedora)
 

================================================================
Index: packages/graphviz/swig_php5.patch
diff -u /dev/null packages/graphviz/swig_php5.patch:1.1
--- /dev/null	Mon Oct 26 06:53:15 2009
+++ packages/graphviz/swig_php5.patch	Mon Oct 26 06:53:09 2009
@@ -0,0 +1,13 @@
+--- graphviz-2.20.3/configure.ac.orig	2009-10-26 06:02:58.449902489 +0100
++++ graphviz-2.20.3/configure.ac	2009-10-26 06:03:21.448321860 +0100
+@@ -948,8 +948,8 @@
+   if test "x$use_swig" != "xYes"; then
+     use_php="No (swig not available)"
+   else
+-    if test `$SWIG -help 2>&1 | $GREP -c '\-php5 *- Generate'` = 0; then
+-      use_php="No (swig does not support -php5 option)"
++    if test `$SWIG -help 2>&1 | $GREP -c '\-php *- Generate'` = 0; then
++      use_php="No (swig does not support -php option)"
+     else
+       AC_CHECK_PROG(PHP,php,php)
+       if test "x$PHP" = "x"; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/graphviz/graphviz.spec?r1=1.97&r2=1.98&f=u



More information about the pld-cvs-commit mailing list