summaryrefslogtreecommitdiff
path: root/cad/spice/files/patch-ai
diff options
context:
space:
mode:
authorChuck Robey <chuckr@FreeBSD.org>1999-03-08 18:40:17 +0000
committerChuck Robey <chuckr@FreeBSD.org>1999-03-08 18:40:17 +0000
commit86b6c6a9c55398b789167ca323cabffdd9b9b1b0 (patch)
treeccb73e7305e6370905bed8a4fee5982edd42bf92 /cad/spice/files/patch-ai
parentUpdate mars_nwe to 0.99.pl15. (diff)
Fix floating point problem and flatten out multi-file patch.
PR: 10481 Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
Notes
Notes: svn path=/head/; revision=17067
Diffstat (limited to '')
-rw-r--r--cad/spice/files/patch-ai20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/spice/files/patch-ai b/cad/spice/files/patch-ai
new file mode 100644
index 000000000000..a462128cf45e
--- /dev/null
+++ b/cad/spice/files/patch-ai
@@ -0,0 +1,20 @@
+diff -cr spice3f4/src/lib/fte/x11.c src/lib/fte/x11.c
+*** spice3f4/src/lib/fte/x11.c Thu Jun 17 17:32:59 1993
+--- src/lib/fte/x11.c Tue Nov 4 22:18:54 1997
+***************
+*** 773,784 ****
+--- 773,787 ----
+ graph->commandline, fx0, fx1, fy0, fy1);
+ }
+
++ /* don't use the following if using GNU Readline - AV */
++ #ifndef HAS_GNUREADLINE
+ /* hack for Gordon Jacobs */
+ /* add to history list if plothistory is set */
+ if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) {
+ wl = cp_parse(buf);
+ (void) cp_addhistent(cp_event++, wl);
+ }
++ #endif /* HAS_GNUREADLINE */
+
+ (void) cp_evloop(buf);