buildroot/package/statserial/0001-ncurses-link.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

17 lines
547 B
Diff

Link to libncurses instead of the legacy libcurses.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
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