summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-routines__graphics__periPos.c
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-03-22 00:37:53 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-03-22 00:37:53 +0000
commit651a8e564df53d7760430d6d73c888fc975f2329 (patch)
tree3ee9fa5148e7c2d8dd58815f6d60df746fc1988f /math/scilab/files/patch-routines__graphics__periPos.c
parento Sanitize MASTER_SITES (diff)
- 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
Diffstat (limited to 'math/scilab/files/patch-routines__graphics__periPos.c')
-rw-r--r--math/scilab/files/patch-routines__graphics__periPos.c18
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