From: Gustavo Zacarias Date: Fri, 4 Jul 2014 17:03:01 +0000 (-0300) Subject: statserial: don't link against legacy curses X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a95b9cc1244e3de5de294c14d8bf7f6fc9916493;p=buildroot.git 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 --- 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