summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-18 01:54:52 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-18 01:54:52 +0000
commit26f2d0b4dfdcc0c5bb897f7ad926328f1702bb72 (patch)
tree65607958578705e4c4ac6ea8d6bac742ae3295ed /dev-libs/redland-bindings
parentMark 0.99.0-r2 stable on alpha (diff)
downloadgentoo-2-26f2d0b4dfdcc0c5bb897f7ad926328f1702bb72.tar.gz
gentoo-2-26f2d0b4dfdcc0c5bb897f7ad926328f1702bb72.tar.bz2
gentoo-2-26f2d0b4dfdcc0c5bb897f7ad926328f1702bb72.zip
fix building with newer swig versions
Diffstat (limited to 'dev-libs/redland-bindings')
-rw-r--r--dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-swig-update.patch11
-rw-r--r--dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild5
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-swig-update.patch b/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-swig-update.patch
new file mode 100644
index 000000000000..305ccdca7b59
--- /dev/null
+++ b/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-swig-update.patch
@@ -0,0 +1,11 @@
+--- python/redland-post.i
++++ python/redland-post.i
+@@ -38,7 +38,7 @@
+ static PyObject *_wrap_librdf_version_minor_get(void);
+ static PyObject *_wrap_librdf_version_release_get(void);
+
+-SWIGEXPORT(void) SWIG_init(void);
++SWIGEXPORT void SWIG_init(void);
+
+ static PyObject *librdf_python_callback = NULL;
+
diff --git a/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild b/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild
index ae4d05d8f58d..aad283be6533 100644
--- a/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild
+++ b/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild,v 1.4 2005/08/17 22:48:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild,v 1.5 2005/10/18 01:54:52 vapier Exp $
inherit eutils mono
@@ -29,6 +29,7 @@ src_unpack() {
sed -i 's:$(INSTALL_PROGRAM) $(TCL_PACKAGE):$(INSTALL_PROGRAM) -D $(TCL_PACKAGE):' tcl/Makefile.in
epatch "${FILESDIR}"/${P}-configure.patch
epatch "${FILESDIR}"/${P}-DESTDIR.patch
+ epatch "${FILESDIR}"/${P}-swig-update.patch
}
src_compile() {
@@ -46,7 +47,7 @@ src_compile() {
}
src_install() {
- make install DESTDIR=${D} || die
+ make install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog* INSTALL NEWS README TODO
dohtml *.html
}