summaryrefslogtreecommitdiff
path: root/cad/spice/files/patch-src_lib_fte_graf_c
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-07-19 03:13:48 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-07-19 03:13:48 +0000
commit43801110c646ef25f3baa85796b629a83c545120 (patch)
tree76e9f483a855c61a3d3be02455d23d486ffc43f7 /cad/spice/files/patch-src_lib_fte_graf_c
parentPR: (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_graf_c')
-rw-r--r--cad/spice/files/patch-src_lib_fte_graf_c30
1 files changed, 30 insertions, 0 deletions
diff --git a/cad/spice/files/patch-src_lib_fte_graf_c b/cad/spice/files/patch-src_lib_fte_graf_c
new file mode 100644
index 000000000000..1b87553b75f8
--- /dev/null
+++ b/cad/spice/files/patch-src_lib_fte_graf_c
@@ -0,0 +1,30 @@
+--- src/lib/fte/graf.c.orig Tue Jan 5 16:43:44 1993
++++ src/lib/fte/graf.c Thu Jul 17 12:16:42 2003
+@@ -289,9 +289,11 @@
+ if (*tics == (double) np) {
+ Text("x", (int) (tox - currentgraph->fontwidth / 2),
+ (int) (toy - currentgraph->fontheight / 2));
+- SaveText(currentgraph, "x",
++ /* gr_redraw will redraw this w/o our having to save it
++ Guenther Roehrich 22-Jan-99 */
++ /* SaveText(currentgraph, "x",
+ (int) (tox - currentgraph->fontwidth / 2),
+- (int) (toy - currentgraph->fontheight / 2));
++ (int) (toy - currentgraph->fontheight / 2)); */
+ break;
+ }
+ }
+@@ -301,9 +303,11 @@
+ /* Draw an 'x' */
+ Text("x", (int) (tox - currentgraph->fontwidth / 2),
+ (int) (toy - currentgraph->fontheight / 2));
+- SaveText(currentgraph, "x",
++ /* gr_redraw will redraw this w/o our having to save it
++ Guenther Roehrich 22-Jan-99 */
++ /* SaveText(currentgraph, "x",
+ (int) (tox - currentgraph->fontwidth / 2),
+- (int) (toy - currentgraph->fontheight / 2));
++ (int) (toy - currentgraph->fontheight / 2)); */
+ }
+ break;
+ case PLOT_COMB: