diff options
Diffstat (limited to 'extra/swig')
-rw-r--r-- | extra/swig/PKGBUILD | 10 | ||||
-rw-r--r-- | extra/swig/swig-pyslice.patch | 22 |
2 files changed, 16 insertions, 16 deletions
diff --git a/extra/swig/PKGBUILD b/extra/swig/PKGBUILD index b74e723ad..bec4664f4 100644 --- a/extra/swig/PKGBUILD +++ b/extra/swig/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 115117 2011-03-17 01:15:24Z stephane $ +# $Id: PKGBUILD 118854 2011-04-08 16:01:46Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=swig -pkgver=2.0.2 -pkgrel=4 +pkgver=2.0.3 +pkgrel=1 pkgdesc="Generate scripting interfaces to C/C++ code" arch=('i686' 'x86_64') url="http://www.swig.org/" @@ -13,9 +13,9 @@ depends=('gcc-libs' 'zlib' 'pcre') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz swig-deprecated-pycobject.patch swig-pyslice.patch) -sha1sums=('1fc5a7b42ae41c51772d7268ba0f987e9514d110' +sha1sums=('da09610f0b925fae40b40186d262c46e3e1f2bf0' 'add71330c5d839d9a27b1ca688e6c5e31f1edb7b' - '7248b34032db7cb84143a6cefae425b222ce43a6') + 'b8e28148fcef01f24a9acc6218dc090dbde03c37') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/swig/swig-pyslice.patch b/extra/swig/swig-pyslice.patch index e615b5d03..a6dd852ec 100644 --- a/extra/swig/swig-pyslice.patch +++ b/extra/swig/swig-pyslice.patch @@ -1,6 +1,6 @@ -diff -Naur swig-2.0.2.ori/Lib/python/pycontainer.swg swig-2.0.2/Lib/python/pycontainer.swg ---- swig-2.0.2.ori/Lib/python/pycontainer.swg 2010-10-19 02:31:31.000000000 -0400 -+++ swig-2.0.2/Lib/python/pycontainer.swg 2011-03-16 20:41:28.090000004 -0400 +diff -Naur swig-2.0.3.ori/Lib/python/pycontainer.swg swig-2.0.3/Lib/python/pycontainer.swg +--- swig-2.0.3.ori/Lib/python/pycontainer.swg 2010-10-18 23:31:31.000000000 -0700 ++++ swig-2.0.3/Lib/python/pycontainer.swg 2011-04-08 08:50:37.281941342 -0700 @@ -630,6 +630,7 @@ return x; } @@ -53,14 +53,14 @@ diff -Naur swig-2.0.2.ori/Lib/python/pycontainer.swg swig-2.0.2/Lib/python/pycon throw (std::out_of_range) { Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { -diff -Naur swig-2.0.2.ori/Source/Modules/python.cxx swig-2.0.2/Source/Modules/python.cxx ---- swig-2.0.2.ori/Source/Modules/python.cxx 2011-02-20 08:47:14.000000000 -0500 -+++ swig-2.0.2/Source/Modules/python.cxx 2011-03-16 20:40:01.223333338 -0400 -@@ -440,6 +440,7 @@ +diff -Naur swig-2.0.3.ori/Source/Modules/python.cxx swig-2.0.3/Source/Modules/python.cxx +--- swig-2.0.3.ori/Source/Modules/python.cxx 2011-03-14 00:22:08.000000000 -0700 ++++ swig-2.0.3/Source/Modules/python.cxx 2011-04-08 08:53:39.288607977 -0700 +@@ -437,6 +437,7 @@ + if (py3) { - /* force disable features that not compatible with Python 3.x */ - classic = 0; -+ Preprocessor_define((DOH *) "NO_PYSLICE 1", 0); + /* force disable features that not compatible with Python 3.x */ ++ Preprocessor_define((DOH *) "NO_PYSLICE 1", 0); + classic = 0; } - if (cppcast) { |