675
|
1 |
--- blt_server-0.15/Makefile.orig 2007-11-21 17:17:05.982494000 +0000
|
|
2 |
+++ blt_server-0.15/Makefile 2007-11-21 17:34:37.180845000 +0000
|
|
3 |
@@ -7,8 +7,8 @@
|
|
4 |
OBJ=blt_server.o names.o server.o data.o tracker.o util.o push.o location.o
|
|
5 |
BINEXEC=blt_server
|
|
6 |
TARDIR=blt_server-0.15
|
|
7 |
-LIBS=-lpthread -lcrypto -lssl
|
|
8 |
-CFLAGS=-Wall -DBLT_SSL
|
|
9 |
+LIBS=-L/usr/sfw/lib -lpthread -lcrypto -lssl -lreadline
|
|
10 |
+CFLAGS=-Wall -DBLT_SSL -I/usr/sfw/include
|
|
11 |
CC=gcc
|
|
12 |
TAR=blt_server-0.15.tgz
|
|
13 |
DIR=dist
|
|
14 |
--- blt_server-0.15/blt_server.c.orig 2007-11-21 17:33:43.780918000 +0000
|
|
15 |
+++ blt_server-0.15/blt_server.c 2007-11-21 17:34:27.518344000 +0000
|
|
16 |
@@ -315,7 +315,7 @@
|
|
17 |
do {
|
|
18 |
if (con_run == 1) { /* interactive mode */
|
|
19 |
printf("BLT=>");
|
|
20 |
- if (getline(&cmd_line, &cmd_size, stdin) > 0) {
|
|
21 |
+ if (readline(&cmd_line, &cmd_size, stdin) > 0) {
|
|
22 |
|
|
23 |
if (strncasecmp(cmd_line, "quit", 4) == 0) {
|
|
24 |
printf("BLT:QUIT\n");
|