diff options
Diffstat (limited to 'sci-electronics/gwave/files/gwave-20190116-fix-configure.patch')
-rw-r--r-- | sci-electronics/gwave/files/gwave-20190116-fix-configure.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch b/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch new file mode 100644 index 000000000000..e0c0c4443866 --- /dev/null +++ b/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch @@ -0,0 +1,14 @@ +diff --git a/configure.ac b/configure.ac +index 7a4f1c4..ffcb326 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -86,8 +86,7 @@ AC_CHECK_LIB(termcap, tgoto, [ + AC_CHECK_LIB(readline, readline, [ + READLINE_LIB="-lreadline -lncurses" + AC_DEFINE(HAVE_READLINE,1,[Define this if you have the readline library]) +- AC_CHECK_LIB(readline, add_history, AC_DEFINE(HAVE_HISTORY,1,[Define this if your readline also has add_history]),,"-l +-ncurses") ++ AC_CHECK_LIB(readline, add_history, AC_DEFINE(HAVE_HISTORY,1,[Define this if your readline also has add_history]),,"-lncurses") + ], READLINE_LIB="", "-lncurses") + ], READLINE_LIB="")) + |