From a95b9cc1244e3de5de294c14d8bf7f6fc9916493 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 4 Jul 2014 14:03:01 -0300 Subject: [PATCH] statserial: don't link against legacy curses Link against libncurses instead of the legacy libcurses. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- .../statserial/statserial-01-ncurses-link.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/statserial/statserial-01-ncurses-link.patch diff --git a/package/statserial/statserial-01-ncurses-link.patch b/package/statserial/statserial-01-ncurses-link.patch new file mode 100644 index 0000000000..b1c41e673f --- /dev/null +++ b/package/statserial/statserial-01-ncurses-link.patch @@ -0,0 +1,16 @@ +Link to libncurses instead of the legacy libcurses. + +Signed-off-by: Gustavo Zacarias + +diff -Nura statserial-1.1.orig/Makefile statserial-1.1/Makefile +--- statserial-1.1.orig/Makefile 2014-07-04 12:47:41.279440415 -0300 ++++ statserial-1.1/Makefile 2014-07-04 12:47:47.948665740 -0300 +@@ -10,7 +10,7 @@ + LDFLAGS = -s -N + + statserial: statserial.o +- $(LD) $(LDFLAGS) -o statserial statserial.o -lcurses ++ $(LD) $(LDFLAGS) -o statserial statserial.o -lncurses + + statserial.o: statserial.c + $(CC) $(CFLAGS) -c statserial.c -- 2.30.2