Add a patch for cjk unicode.
PR: ports/97559 Submitted by: Aho K.F. Li <thinker@branda.dot.to>
This commit is contained in:
parent
fae853b154
commit
b2142a500a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163101
2 changed files with 12 additions and 0 deletions
|
@ -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}
|
||||
|
|
11
print/py-freetype/files/patch-freetype_wrap.c
Normal file
11
print/py-freetype/files/patch-freetype_wrap.c
Normal file
|
@ -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; }
|
Loading…
Reference in a new issue