swig 3.0.2

This commit is contained in:
AlmAck 2014-08-19 23:09:09 +02:00
parent de8137a02c
commit 77839e0747
2 changed files with 9 additions and 18 deletions

View File

@ -4,15 +4,16 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=swig
pkgver=2.0.11
pkgver=3.0.2
pkgrel=1
pkgdesc="A compiler that makes it easy to integrate C and C++ code with scripting languages"
arch=('x86_64')
url="http://www.swig.org/"
license=('custom')
depends=('pcre' 'zlib')
depends=('pcre' 'gcc-libs')
checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('d3bf4e78824dba76bfb3269367f1ae0276b49df9')
sha1sums=('e695a14acf39b25f3ea2d7303e23e39dfe284e31')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@ -20,6 +21,11 @@ build() {
make
}
check() {
cd ${pkgname}-${pkgver}
make check || warning "Tests failed"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install

View File

@ -1,15 +0,0 @@
--- usr/share/swig/2.0.4/std/std_common.i 2012-03-01 00:21:45.756466166 +0200
+++ usr/share/swig/2.0.4/std/std_common.i 2012-03-01 01:28:03.308299812 +0200
@@ -27,6 +27,7 @@
#include <string>
#include <stdexcept>
#include <stddef.h>
+#include <cstddef>
%}
@@ -237,3 +238,4 @@
%std_order_methods(Type )
%enddef
+