summaryrefslogtreecommitdiff
path: root/graphics/py-paint/files/optpatch-aa
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-07-08 16:47:15 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-07-08 16:47:15 +0000
commitbb8b021e51c49dc5abd9c24ca914766520641026 (patch)
tree966b9ea93f69d08ca05b5ed80cb562fe9c96c1f1 /graphics/py-paint/files/optpatch-aa
parentInitial import of libart-2.3.3. (diff)
Initial import of py-paint 0.1.
The paint module provides a simple and flexible facility for painting PNG images files. The paint module depends upon three free libraries: freetype, libart, libpng. PR: 28819 Submitted by: Hye-Shik Chang <perky@python.or.kr>
Notes
Notes: svn path=/head/; revision=44934
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