- added swig2 patch to allow build with swig 2.0.x
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 9 Oct 2010 16:08:09 +0000 (16:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    geos-swig2.patch -> 1.1
    geos.spec -> 1.28

geos-swig2.patch [new file with mode: 0644]
geos.spec

diff --git a/geos-swig2.patch b/geos-swig2.patch
new file mode 100644 (file)
index 0000000..d78cf83
--- /dev/null
@@ -0,0 +1,15 @@
+--- geos-3.2.2/macros/ac_pkg_swig.m4.orig      2007-08-30 08:19:41.000000000 +0200
++++ geos-3.2.2/macros/ac_pkg_swig.m4   2010-10-09 13:30:47.923740205 +0200
+@@ -67,9 +67,9 @@
+                         if test -z "$available_patch" ; then
+                                 [available_patch=0]
+                         fi
+-                        if test $available_major -ne $required_major \
+-                                -o $available_minor -ne $required_minor \
+-                                -o $available_patch -lt $required_patch ; then
++                        if test $available_major -lt $required_major \
++                                -o $available_major -eq $required_major -a $available_minor -lt $required_minor \
++                                -o $available_major -eq $required_major -a $available_minor -eq $required_minor -a $available_patch -lt $required_patch ; then
+                                 AC_MSG_WARN([SWIG version >= $1 is required.  You have $swig_version.  You should look at http://www.swig.org])
+                                 SWIG=''
+                         else
index 16a1b39..6cabe6d 100644 (file)
--- a/geos.spec
+++ b/geos.spec
@@ -14,6 +14,7 @@ Group:                Libraries
 Source0:       http://download.osgeo.org/geos/%{name}-%{version}.tar.bz2
 # Source0-md5: c5d264acac22fe7720f85dadc1fc17c6
 Patch0:                %{name}-ruby1.9.patch
+Patch1:                %{name}-swig2.patch
 URL:           http://trac.osgeo.org/geos/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -94,6 +95,7 @@ Wiązania języka Ruby do biblioteki GEOS.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal} -I macros
This page took 0.0453 seconds and 4 git commands to generate.