View | Details | Raw Unified | Return to bug 104109
Collapse All | Expand All

(-)/home/trasz/spice/files/patch-src-lib-mfb-mfbcaps.c (+14 lines)
Line 0 Link Here
1
--- src/lib/mfb/mfbcaps.c.orig	Sat Oct  7 15:56:38 2006
2
+++ src/lib/mfb/mfbcaps.c	Sat Oct  7 15:57:51 2006
3
@@ -43,9 +43,9 @@
4
 
5
 FILE   *POpen();
6
 char   *strcpy();
7
-char   *MFBSkip();
8
+static char   *MFBSkip();
9
 char   *MFBGetStr();
10
-char   *MFBCapDecod();
11
+static char   *MFBCapDecod();
12
 int    MFBGetNum();
13
 int    MFBGetFlag();
14
 int    MFBGetEnt();
(-)/home/trasz/spice/files/patch-src_lib_fte_graf_c (-4 / +13 lines)
Lines 1-6 Link Here
1
--- src/lib/fte/graf.c.orig	Tue Jan  5 16:43:44 1993
1
--- src/lib/fte/graf.c.orig	Tue Jan  5 22:43:44 1993
2
+++ src/lib/fte/graf.c	Thu Jul 17 12:16:42 2003
2
+++ src/lib/fte/graf.c	Sat Oct  7 16:02:45 2006
3
@@ -289,9 +289,11 @@
3
@@ -48,6 +48,8 @@
4
 static char *ticlist = ticbuf;
5
 #define MAXTICS 100
6
 double *readtics();
7
+static gr_resize_internal();
8
+static drawlegend();
9
 
10
 #define XFACTOR 2       /* How much to expand the X scale during iplot. */
11
 #define YFACTOR 1.5     /* How much to expand the Y scale during iplot. */
12
@@ -289,9 +291,11 @@
4
 		if (*tics == (double) np) {
13
 		if (*tics == (double) np) {
5
 		    Text("x", (int) (tox - currentgraph->fontwidth / 2),
14
 		    Text("x", (int) (tox - currentgraph->fontwidth / 2),
6
 			(int) (toy - currentgraph->fontheight / 2));
15
 			(int) (toy - currentgraph->fontheight / 2));
Lines 14-20 Link Here
14
 		    break;
23
 		    break;
15
 		}
24
 		}
16
 	    }
25
 	    }
17
@@ -301,9 +303,11 @@
26
@@ -301,9 +305,11 @@
18
 	    /* Draw an 'x' */
27
 	    /* Draw an 'x' */
19
 	    Text("x", (int) (tox - currentgraph->fontwidth / 2),
28
 	    Text("x", (int) (tox - currentgraph->fontwidth / 2),
20
 		(int) (toy - currentgraph->fontheight / 2));
29
 		(int) (toy - currentgraph->fontheight / 2));
(-)/home/trasz/spice/files/patch-src_lib_fte_grid_c (-7 / +16 lines)
Lines 1-6 Link Here
1
--- src/lib/fte/grid.c.orig	Sun Apr 25 16:53:11 1993
1
--- src/lib/fte/grid.c.orig	Sun Apr 25 23:53:11 1993
2
+++ src/lib/fte/grid.c	Thu Jul 17 00:47:51 2003
2
+++ src/lib/fte/grid.c	Sat Oct  7 16:00:37 2006
3
@@ -1230,7 +1230,10 @@
3
@@ -26,6 +26,8 @@
4
 static void arcset();
5
 static double cliparc();
6
 static void adddeglabel(), addradlabel();
7
+static drawloggrid();
8
+static drawlingrid();
9
 
10
 typedef enum { x_axis, y_axis } Axis;
11
 
12
@@ -1230,7 +1232,10 @@
4
 
13
 
5
     /* SetLinestyle(1); takes too long */
14
     /* SetLinestyle(1); takes too long */
6
     /* Problems with Suns on very large radii && linestyle */
15
     /* Problems with Suns on very large radii && linestyle */
Lines 12-18 Link Here
12
 
21
 
13
     /* Now plot all the arc sets.  Go as high as 5 times the radius that
22
     /* Now plot all the arc sets.  Go as high as 5 times the radius that
14
      * will fit on the screen.  The base magnitude is one more than 
23
      * will fit on the screen.  The base magnitude is one more than 
15
@@ -1409,7 +1412,10 @@
24
@@ -1409,7 +1414,10 @@
16
     /* Let's be lazy and just draw everything -- we won't get called too
25
     /* Let's be lazy and just draw everything -- we won't get called too
17
      * much and the circles get clipped anyway...
26
      * much and the circles get clipped anyway...
18
      */
27
      */
Lines 24-30 Link Here
24
 
33
 
25
     cliparc((double) (centx + xoffset + radoff - rad),
34
     cliparc((double) (centx + xoffset + radoff - rad),
26
 	    (double) (centy + yoffset), rad, 2*angle,
35
 	    (double) (centy + yoffset), rad, 2*angle,
27
@@ -1424,7 +1430,10 @@
36
@@ -1424,7 +1432,10 @@
28
             M_PI - 2 * angle, centx, centy, maxrad, 0);
37
             M_PI - 2 * angle, centx, centy, maxrad, 0);
29
 
38
 
30
     /* Draw the upper and lower circles.  */
39
     /* Draw the upper and lower circles.  */
Lines 36-42 Link Here
36
     aclip = cliparc((double) (centx + xoffset + radoff),
45
     aclip = cliparc((double) (centx + xoffset + radoff),
37
 	    (double) (centy + yoffset + irad), irad,
46
 	    (double) (centy + yoffset + irad), irad,
38
 	    (double) (M_PI * 1.5 + 2 * iangle),
47
 	    (double) (M_PI * 1.5 + 2 * iangle),
39
@@ -1441,7 +1450,10 @@
48
@@ -1441,7 +1452,10 @@
40
 	adddeglabel(graph, ndeg, xlab, ylab,
49
 	adddeglabel(graph, ndeg, xlab, ylab,
41
 	    gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter);
50
 	    gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter);
42
  */
51
  */
Lines 48-54 Link Here
48
 	}
57
 	}
49
     }
58
     }
50
     aclip = cliparc((double) (centx + xoffset + radoff),
59
     aclip = cliparc((double) (centx + xoffset + radoff),
51
@@ -1455,7 +1467,10 @@
60
@@ -1455,7 +1469,10 @@
52
 	SetColor(1);
61
 	SetColor(1);
53
 	adddeglabel(graph, ndeg, xlab, ylab,
62
 	adddeglabel(graph, ndeg, xlab, ylab,
54
 	    gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter);
63
 	    gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter);

Return to bug 104109