aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/py-xmlrpc/Makefile1
-rw-r--r--net/py-xmlrpc/files/patch-src_rpcBase64.c14
-rw-r--r--net/py-xmlrpc/files/patch-src_rpcBoolean.c14
-rw-r--r--net/py-xmlrpc/files/patch-src_rpcClient.c14
-rw-r--r--net/py-xmlrpc/files/patch-src_rpcDate.c14
-rw-r--r--net/py-xmlrpc/files/patch-src_rpcDispatch.c14
-rw-r--r--net/py-xmlrpc/files/patch-src_rpcSource.c14
7 files changed, 85 insertions, 0 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile
index 629549e0c9f1..623428c2ccfa 100644
--- a/net/py-xmlrpc/Makefile
+++ b/net/py-xmlrpc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xmlrpc
PORTVERSION= 0.8.8.3
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py-${PORTNAME}
diff --git a/net/py-xmlrpc/files/patch-src_rpcBase64.c b/net/py-xmlrpc/files/patch-src_rpcBase64.c
new file mode 100644
index 000000000000..e527c921ce1e
--- /dev/null
+++ b/net/py-xmlrpc/files/patch-src_rpcBase64.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/rpcBase64.c
++++ src/rpcBase64.c
+@@ -239,7 +239,7 @@
+ if (bp->value) {
+ Py_DECREF(bp->value);
+ }
+- PyMem_DEL(bp);
++ PyObject_DEL(bp);
+ }
+
+
diff --git a/net/py-xmlrpc/files/patch-src_rpcBoolean.c b/net/py-xmlrpc/files/patch-src_rpcBoolean.c
new file mode 100644
index 000000000000..cb3d78f0a05f
--- /dev/null
+++ b/net/py-xmlrpc/files/patch-src_rpcBoolean.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/rpcBoolean.c
++++ src/rpcBoolean.c
+@@ -46,7 +46,7 @@
+ static void
+ rpcBoolDealloc(rpcBool *bp)
+ {
+- PyMem_DEL(bp);
++ PyObject_DEL(bp);
+ }
+
+
diff --git a/net/py-xmlrpc/files/patch-src_rpcClient.c b/net/py-xmlrpc/files/patch-src_rpcClient.c
new file mode 100644
index 000000000000..a5e1a8a060eb
--- /dev/null
+++ b/net/py-xmlrpc/files/patch-src_rpcClient.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/rpcClient.c
++++ src/rpcClient.c
+@@ -179,7 +179,7 @@
+ cp->url = NULL;
+ Py_DECREF(cp->src);
+ Py_DECREF(cp->disp);
+- PyMem_DEL(cp);
++ PyObject_DEL(cp);
+ }
+
+
diff --git a/net/py-xmlrpc/files/patch-src_rpcDate.c b/net/py-xmlrpc/files/patch-src_rpcDate.c
new file mode 100644
index 000000000000..f25424167d99
--- /dev/null
+++ b/net/py-xmlrpc/files/patch-src_rpcDate.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/rpcDate.c
++++ src/rpcDate.c
+@@ -75,7 +75,7 @@
+ if (dp->value) {
+ Py_DECREF(dp->value);
+ }
+- PyMem_DEL(dp);
++ PyObject_DEL(dp);
+ }
+
+
diff --git a/net/py-xmlrpc/files/patch-src_rpcDispatch.c b/net/py-xmlrpc/files/patch-src_rpcDispatch.c
new file mode 100644
index 000000000000..a552bb4edb4e
--- /dev/null
+++ b/net/py-xmlrpc/files/patch-src_rpcDispatch.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/rpcDispatch.c
++++ src/rpcDispatch.c
+@@ -68,7 +68,7 @@
+ rpcDispClear(dp);
+ free(dp->srcs);
+ }
+- PyMem_DEL(dp);
++ PyObject_DEL(dp);
+ }
+
+
diff --git a/net/py-xmlrpc/files/patch-src_rpcSource.c b/net/py-xmlrpc/files/patch-src_rpcSource.c
new file mode 100644
index 000000000000..afbf94f78b1a
--- /dev/null
+++ b/net/py-xmlrpc/files/patch-src_rpcSource.c
@@ -0,0 +1,14 @@
+
+$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);
+ }
+
+