diff options
author | vanilla <vanilla@FreeBSD.org> | 2006-05-22 15:24:59 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2006-05-22 15:24:59 +0000 |
commit | c319ee5f8aac32bfd662f5809b66bbbc3de731f8 (patch) | |
tree | 0243410eeece172a480e1752302eb3e65eeb11de /print | |
parent | 5b1e257d08d93589b0ef4e4db9b7884c45bbaab8 (diff) | |
download | FreeBSD-ports-c319ee5f8aac32bfd662f5809b66bbbc3de731f8.zip FreeBSD-ports-c319ee5f8aac32bfd662f5809b66bbbc3de731f8.tar.gz |
Add a patch for cjk unicode.
PR: ports/97559
Submitted by: Aho K.F. Li <thinker@branda.dot.to>
Diffstat (limited to 'print')
-rw-r--r-- | print/py-freetype/Makefile | 1 | ||||
-rw-r--r-- | print/py-freetype/files/patch-freetype_wrap.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/print/py-freetype/Makefile b/print/py-freetype/Makefile index 9e75de3..20608c2 100644 --- a/print/py-freetype/Makefile +++ b/print/py-freetype/Makefile @@ -7,6 +7,7 @@ PORTNAME= py-freetype PORTVERSION= 0.65 +PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= http://starship.python.net/crew/kernr/source/ DISTNAME= PyFT-${PORTVERSION} diff --git a/print/py-freetype/files/patch-freetype_wrap.c b/print/py-freetype/files/patch-freetype_wrap.c new file mode 100644 index 0000000..e7ad40d --- /dev/null +++ b/print/py-freetype/files/patch-freetype_wrap.c @@ -0,0 +1,11 @@ +--- freetype_wrap.c.orig Mon May 22 23:21:55 2006 ++++ freetype_wrap.c Mon May 22 23:22:11 2006 +@@ -3410,7 +3410,7 @@ + PyObject * _argo0 = 0; + + self = self; +- if(!PyArg_ParseTuple(args,"Oh:TT_Char_Index",&_argo0,&_arg1)) ++ if(!PyArg_ParseTuple(args,"OH:TT_Char_Index",&_argo0,&_arg1)) + return NULL; + if (_argo0) { + if (_argo0 == Py_None) { _arg0 = NULL; } |