0bb9c68dc258b8e73f540ea482f40a67ae1c2bae
[openwrt/svn-archive/archive.git] / ipv6 / send / patches / 004-always_link_with_ncurses.patch
1 We should always link with libncurses. This is not noticeable
2 when building the debian packages because we install libncurses5
3 runtime library as a dependency.
4
5 Index: sendd-0.2/cgatool/Makefile
6 ===================================================================
7 --- sendd-0.2/cgatool/Makefile 2008-10-05 16:26:28.000000000 +0200
8 +++ sendd-0.2.new/cgatool/Makefile 2008-10-21 18:03:28.000000000 +0200
9 @@ -17,7 +17,7 @@
10 LDFLAGS= -L../libs/.libs
11 endif
12
13 -LDLIBS += -lcrypto
14 +LDLIBS += -lcrypto -lncurses
15
16 ifeq ($(USE_THREADS),y)
17 LDLIBS += -lpthread
18 Index: sendd-0.2/sendd/Makefile
19 ===================================================================
20 diff -urN sendd-0.2/sendd/Makefile sendd-0.2.new/sendd/Makefile
21 --- sendd-0.2/sendd/Makefile 2008-05-27 17:04:08.000000000 +0200
22 +++ sendd-0.2.new/sendd/Makefile 2008-10-21 18:49:05.000000000 +0200
23 @@ -28,7 +28,7 @@
24 LDFLAGS= -L../libs/.libs
25 endif
26
27 -LDLIBS += -lcrypto
28 +LDLIBS += -lcrypto -lncurses
29 LDLIBS += $(OSLIBS)
30
31 ifeq ($(USE_THREADS),y)