1 |
bicatali 07/12/09 16:54:14 |
2 |
|
3 |
Added: pyfltk-1.1.2-python25.patch |
4 |
Log: |
5 |
added opengl flag, fixed for python-2.5 (ssize_t) and install doc properly |
6 |
(Portage version: 2.1.4_rc8) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/pyfltk/files/pyfltk-1.1.2-python25.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfltk/files/pyfltk-1.1.2-python25.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfltk/files/pyfltk-1.1.2-python25.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pyfltk-1.1.2-python25.patch |
15 |
=================================================================== |
16 |
--- swig/Fl_Bitmap.i.orig 2007-12-09 15:34:18.633043673 +0000 |
17 |
+++ swig/Fl_Bitmap.i 2007-12-09 15:34:56.675211572 +0000 |
18 |
@@ -13,7 +13,7 @@ |
19 |
|
20 |
%typemap(in) const uchar *bits { |
21 |
/* Check if the input support the buffer protocol */ |
22 |
- int size_buffer; |
23 |
+ Py_ssize_t size_buffer; |
24 |
const void * buffer; |
25 |
int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); |
26 |
if (!failure) { |
27 |
--- swig/fl_draw.i.orig 2007-12-09 15:34:37.166099811 +0000 |
28 |
+++ swig/fl_draw.i 2007-12-09 15:35:15.200267255 +0000 |
29 |
@@ -9,7 +9,7 @@ |
30 |
|
31 |
%typemap(in) const uchar * { |
32 |
/* Check if the input support the buffer protocol */ |
33 |
- int size_buffer; |
34 |
+ Py_ssize_t size_buffer; |
35 |
const void * buffer; |
36 |
int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); |
37 |
if (!failure) { |
38 |
--- swig/Fl_Image.i.orig 2007-12-09 15:34:30.577724361 +0000 |
39 |
+++ swig/Fl_Image.i 2007-12-09 15:35:30.549141938 +0000 |
40 |
@@ -23,7 +23,7 @@ |
41 |
|
42 |
%typemap(in) const uchar *bits { |
43 |
/* Check if the input support the buffer protocol */ |
44 |
- int size_buffer; |
45 |
+ Py_ssize_t size_buffer; |
46 |
const void * buffer; |
47 |
int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); |
48 |
if (!failure) { |
49 |
|
50 |
|
51 |
|
52 |
-- |
53 |
gentoo-commits@g.o mailing list |