summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2006-09-26 12:52:51 +0000
committerMarien Zwart <marienz@gentoo.org>2006-09-26 12:52:51 +0000
commit29b1e00a668c34e1dd468c03e274c070319607e8 (patch)
treead5369bf919e8a623a48685b0e15628d9449e220 /dev-python/pyme/files
parentadd net-proxy/sshproxy:client-only (diff)
downloadgentoo-2-29b1e00a668c34e1dd468c03e274c070319607e8.tar.gz
gentoo-2-29b1e00a668c34e1dd468c03e274c070319607e8.tar.bz2
gentoo-2-29b1e00a668c34e1dd468c03e274c070319607e8.zip
Make pyme build with recent versions of swig. Closes bug #144020, thanks to genone for reporting.
(Portage version: 2.1.2_pre1-r2)
Diffstat (limited to 'dev-python/pyme/files')
-rw-r--r--dev-python/pyme/files/digest-pyme-0.7.0-r13
-rw-r--r--dev-python/pyme/files/pyme-0.7.0-swig-compatibility.patch10
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/pyme/files/digest-pyme-0.7.0-r1 b/dev-python/pyme/files/digest-pyme-0.7.0-r1
new file mode 100644
index 000000000000..14783c9f6e84
--- /dev/null
+++ b/dev-python/pyme/files/digest-pyme-0.7.0-r1
@@ -0,0 +1,3 @@
+MD5 94ec22f7f4babc5b1e9f0af8d73f05e0 pyme-0.7.0.tar.gz 73550
+RMD160 4805a9c6a50cd683f9b4a9d692779b1b2f698f14 pyme-0.7.0.tar.gz 73550
+SHA256 4708f4408190b7cf9c36f1521e1ebf2588084e9a6e6ec76a87ef39faaf3fe9b6 pyme-0.7.0.tar.gz 73550
diff --git a/dev-python/pyme/files/pyme-0.7.0-swig-compatibility.patch b/dev-python/pyme/files/pyme-0.7.0-swig-compatibility.patch
new file mode 100644
index 000000000000..41163ce4e8f3
--- /dev/null
+++ b/dev-python/pyme/files/pyme-0.7.0-swig-compatibility.patch
@@ -0,0 +1,10 @@
+--- gpgme.i.old 2006-04-12 14:08:14.000000000 -0400
++++ gpgme.i 2006-04-12 13:46:23.000000000 -0400
+@@ -35,6 +35,7 @@
+ return NULL;
+ }
+ }
++%typemap(freearg) const char * "";
+
+ // Release returned buffers as necessary.
+ %typemap(newfree) char * "free($1);";