diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-07-19 03:13:48 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-07-19 03:13:48 +0000 |
commit | 43801110c646ef25f3baa85796b629a83c545120 (patch) | |
tree | 76e9f483a855c61a3d3be02455d23d486ffc43f7 /cad/spice/files/patch-src_lib_fte_grid_c | |
parent | PR: (diff) |
1. REAL cleaning on this port. The files dir is now organized so the
port can be maintained: previously there were multifile patches and several
patches for the same file, now it is a lot cleaner.
2. I also merged a memory leak fix and some fixes from
spice3f5-spaghetti.
4. MFB and removed GNUREADLINE support
5. honor CFLAGS and CC.
6. Add documentation.
7. Maho didn't change the name of port spice to spice3.
because spice4 might :) appear in the future. version number
should be listed on *only* PORTVERSION.
8. drom maintainership
PR: 54603
Submitted by: "Pedro F. Giffuni" <giffunip@yahoo.com>
Diffstat (limited to 'cad/spice/files/patch-src_lib_fte_grid_c')
-rw-r--r-- | cad/spice/files/patch-src_lib_fte_grid_c | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/cad/spice/files/patch-src_lib_fte_grid_c b/cad/spice/files/patch-src_lib_fte_grid_c new file mode 100644 index 000000000000..7521d0460c42 --- /dev/null +++ b/cad/spice/files/patch-src_lib_fte_grid_c @@ -0,0 +1,62 @@ +--- src/lib/fte/grid.c.orig Sun Apr 25 16:53:11 1993 ++++ src/lib/fte/grid.c Thu Jul 17 00:47:51 2003 +@@ -1230,7 +1230,10 @@ + + /* SetLinestyle(1); takes too long */ + /* Problems with Suns on very large radii && linestyle */ +- SetLinestyle(0); ++ /* SetLinestyle(0); */ ++ /* linestyle 1 looks better ++ Guenther Roehrich 22-Jan-99 */ ++ SetLinestyle(1); + + /* Now plot all the arc sets. Go as high as 5 times the radius that + * will fit on the screen. The base magnitude is one more than +@@ -1409,7 +1412,10 @@ + /* Let's be lazy and just draw everything -- we won't get called too + * much and the circles get clipped anyway... + */ +- SetColor(18); ++ /* SetColor(18); */ ++ /* draw everything in black ++ Guenther Roehrich 22-Jan-99 */ ++ SetColor(1); + + cliparc((double) (centx + xoffset + radoff - rad), + (double) (centy + yoffset), rad, 2*angle, +@@ -1424,7 +1430,10 @@ + M_PI - 2 * angle, centx, centy, maxrad, 0); + + /* Draw the upper and lower circles. */ +- SetColor(19); ++ /* SetColor(19); */ ++ /* draw everything in black ++ Guenther Roehrich 22-Jan-99 */ ++ SetColor(1); + aclip = cliparc((double) (centx + xoffset + radoff), + (double) (centy + yoffset + irad), irad, + (double) (M_PI * 1.5 + 2 * iangle), +@@ -1441,7 +1450,10 @@ + adddeglabel(graph, ndeg, xlab, ylab, + gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter); + */ +- SetColor(19); ++ /* SetColor(19); */ ++ /* draw everything in black ++ Guenther Roehrich 22-Jan-99 */ ++ SetColor(1); + } + } + aclip = cliparc((double) (centx + xoffset + radoff), +@@ -1455,7 +1467,10 @@ + SetColor(1); + adddeglabel(graph, ndeg, xlab, ylab, + gr_xcenter, gr_ycenter, gr_xcenter, gr_ycenter); +- SetColor(19); ++ /* SetColor(19); */ ++ /* draw everything in black ++ Guenther Roehrich 22-Jan-99 */ ++ SetColor(1); + } + + /* Now toss the labels on... */ |