summaryrefslogtreecommitdiff
path: root/dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch')
-rw-r--r--dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch b/dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch
new file mode 100644
index 00000000000..9cbfc7f89a0
--- /dev/null
+++ b/dev-python/py-xmlrpc/files/py-xmlrpc_rpcSource.patch
@@ -0,0 +1,16 @@
+Patch added by neurogeek@gentoo.org
+Patch added 03/01/2010
+Taken from: http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/py-xmlrpc/files/
+Thanks to sobomax @ FreeBSD
+
+--- src/rpcSource.c
++++ src/rpcSource.c
+@@ -61,7 +61,7 @@
+ if (srcp->onErr and srcp->onErrType == ONERR_TYPE_PY) {
+ Py_DECREF((PyObject *)srcp->onErr);
+ }
+- PyMem_DEL(srcp);
++ PyObject_DEL(srcp);
+ }
+
+