board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / statserial / 0001-ncurses-link.patch
blobb1c41e673f4c6ddef1644f6b26e7f9b45c1bbd4b
1 Link to libncurses instead of the legacy libcurses.
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 diff -Nura statserial-1.1.orig/Makefile statserial-1.1/Makefile
6 --- statserial-1.1.orig/Makefile 2014-07-04 12:47:41.279440415 -0300
7 +++ statserial-1.1/Makefile 2014-07-04 12:47:47.948665740 -0300
8 @@ -10,7 +10,7 @@
9 LDFLAGS = -s -N
11 statserial: statserial.o
12 - $(LD) $(LDFLAGS) -o statserial statserial.o -lcurses
13 + $(LD) $(LDFLAGS) -o statserial statserial.o -lncurses
15 statserial.o: statserial.c
16 $(CC) $(CFLAGS) -c statserial.c