summaryrefslogtreecommitdiff
path: root/graphics/py-paint/files/optpatch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-paint/files/optpatch-aa')
-rw-r--r--graphics/py-paint/files/optpatch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/py-paint/files/optpatch-aa b/graphics/py-paint/files/optpatch-aa
new file mode 100644
index 000000000000..2fadcd45df3a
--- /dev/null
+++ b/graphics/py-paint/files/optpatch-aa
@@ -0,0 +1,12 @@
+--- paint.h.orig Thu May 10 10:12:07 2001
++++ paint.h Mon Jul 9 00:01:22 2001
+@@ -39,6 +39,9 @@
+ #include <libart_lgpl/art_svp_vpath_stroke.h>
+
+ #include "Python.h"
++#define Py_Malloc(n) PyMem_Malloc(n)
++#define Py_Realloc(p, n) PyMem_Realloc((p), (n))
++#define Py_Free(p) PyMem_Free(p)
+
+ typedef struct {
+ PyObject_HEAD