0001-ncurses-link.patch 547 B

12345678910111213141516
  1. Link to libncurses instead of the legacy libcurses.
  2. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. diff -Nura statserial-1.1.orig/Makefile statserial-1.1/Makefile
  4. --- statserial-1.1.orig/Makefile 2014-07-04 12:47:41.279440415 -0300
  5. +++ statserial-1.1/Makefile 2014-07-04 12:47:47.948665740 -0300
  6. @@ -10,7 +10,7 @@
  7. LDFLAGS = -s -N
  8. statserial: statserial.o
  9. - $(LD) $(LDFLAGS) -o statserial statserial.o -lcurses
  10. + $(LD) $(LDFLAGS) -o statserial statserial.o -lncurses
  11. statserial.o: statserial.c
  12. $(CC) $(CFLAGS) -c statserial.c