1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/cad/spice/files/patch-ah

22 lines
659 B
Plaintext
Raw Normal View History

diff -cr spice3f4/src/lib/fte/x10.c src/lib/fte/x10.c
*** spice3f4/src/lib/fte/x10.c Thu Jun 17 17:32:54 1993
--- src/lib/fte/x10.c Tue Nov 4 22:18:54 1997
***************
*** 726,737 ****
--- 726,740 ----
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);