freebsd-ports/math/scilab/files/patch-routines__graphics__periPos.c
Marcus Alves Grando 651a8e564d - Change master site to fix fetch [1]
- math/atlas change default option to not compile static libs. Change scilab to use .so
- Add OPTIONS to use or not use atlas and gtk2 interface [1]
- portlint(1)

PR:		93695 [1]
Submitted by:	maintainer
2006-03-22 00:37:53 +00:00

18 lines
511 B
C

--- ./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