openbsd-ports/math/calc/patches/patch-ac

20 lines
425 B
Plaintext

--- hist.c.orig Mon Nov 8 12:23:18 1999
+++ hist.c Mon Nov 8 12:40:16 1999
@@ -1444,7 +1444,6 @@
#include <readline/readline.h>
-#include <readline/history.h>
/*
@@ -1506,7 +1505,7 @@
using_history();
/* name of history file */
- my_calc_history = tilde_expand("~/.calc_history");
+ my_calc_history = (char *)tilde_expand("~/.calc_history");
/* read previous history */
read_history(my_calc_history);