/[packages]/cauldron/yasm/pristine/SOURCES/yasm-1.1.0-fix-cython-compile-error.patch
ViewVC logotype

Contents of /cauldron/yasm/pristine/SOURCES/yasm-1.1.0-fix-cython-compile-error.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21855 - (show annotations) (download)
Tue Jan 18 00:35:13 2011 UTC (13 years, 3 months ago) by schedbot
File size: 771 byte(s)
Copying release 1.1.0-5.mga1 to pristine/ directory.
1 --- yasm-1.1.0/tools/python-yasm/yasm.pyx.orig 2011-01-14 02:45:06.965632038 +0200
2 +++ yasm-1.1.0/tools/python-yasm/yasm.pyx 2011-01-14 02:45:21.549789708 +0200
3 @@ -97,7 +97,7 @@
4 #
5 cdef class __assoc_data_callback:
6 cdef yasm_assoc_data_callback *cb
7 - def __new__(self, destroy, print_):
8 + def __cinit__(self, destroy, print_):
9 self.cb = <yasm_assoc_data_callback *>malloc(sizeof(yasm_assoc_data_callback))
10 self.cb.destroy = <void (*) (void *)>PyCObject_AsVoidPtr(destroy)
11 #self.cb.print_ = <void (*) (void *, FILE *, int)>PyCObject_AsVoidPtr(print_)
12 @@ -107,7 +107,7 @@
13
14 cdef class Register:
15 cdef unsigned long reg
16 - def __new__(self, reg):
17 + def __cinit__(self, reg):
18 self.reg = reg
19
20 include "errwarn.pxi"

  ViewVC Help
Powered by ViewVC 1.1.30