summaryrefslogtreecommitdiff
path: root/cad/cider/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'cad/cider/files/patch-ai')
-rw-r--r--cad/cider/files/patch-ai20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/cider/files/patch-ai b/cad/cider/files/patch-ai
new file mode 100644
index 000000000000..7e3155bc071c
--- /dev/null
+++ b/cad/cider/files/patch-ai
@@ -0,0 +1,20 @@
+*** sim/spice/common/src/lib/fte/x11.c.orig Sat Jan 29 18:48:34 1994
+--- sim/spice/common/src/lib/fte/x11.c Sun Dec 12 14:56:50 1999
+***************
+*** 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);
+