diff options
Diffstat (limited to '')
| -rw-r--r-- | math/scilab/files/patch-routines__graphics__periPos.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/scilab/files/patch-routines__graphics__periPos.c b/math/scilab/files/patch-routines__graphics__periPos.c new file mode 100644 index 000000000000..4f1067180c02 --- /dev/null +++ b/math/scilab/files/patch-routines__graphics__periPos.c @@ -0,0 +1,18 @@ +--- ./routines/graphics/periPos.c.orig Tue Mar 21 19:07:20 2006 ++++ ./routines/graphics/periPos.c Tue Mar 21 19:07:46 2006 +@@ -1225,6 +1225,7 @@ + { + integer i,rect[4] ; + int yn = (int) (*y + ascentPos()); ++ int alloc; + + if ( ScilabGCPos_is_initialized == FALSE ) { + sciprint("xinit must be called before any action \r\n"); +@@ -1232,7 +1233,6 @@ + } + + #ifdef WITH_GTK +- int alloc; + /* we expect iso-latin1 in postscript */ + string = sci_convert_from_utf8(string, &alloc,NULL); + #endif |
