summaryrefslogtreecommitdiffstats
path: root/recipes/js/js/libtermcap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/js/js/libtermcap.patch')
-rw-r--r--recipes/js/js/libtermcap.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/js/js/libtermcap.patch b/recipes/js/js/libtermcap.patch
new file mode 100644
index 0000000000..045b4fb565
--- /dev/null
+++ b/recipes/js/js/libtermcap.patch
@@ -0,0 +1,13 @@
+Index: src/Makefile.ref
+===================================================================
+--- src.orig/Makefile.ref
++++ src/Makefile.ref
+@@ -127,7 +127,7 @@ endif
+ ifdef JS_READLINE
+ # For those platforms with the readline library installed.
+ DEFINES += -DEDITLINE
+-PROG_LIBS += -lreadline -ltermcap
++PROG_LIBS += -lreadline -lncurses
+ else
+ ifdef JS_EDITLINE
+ # Use the editline library, built locally.