Added support for SSL
[openwrt.git] / package / httping / patches / 01-honor_includes_lib-paths.patch
1 diff -urN httping-1.0.10.orig/io.c httping-1.0.10/io.c
2 --- httping-1.0.10.orig/io.c 2006-02-13 13:48:37.645232976 +0100
3 +++ httping-1.0.10/io.c 2006-02-13 13:48:24.083294704 +0100
4 @@ -37,7 +37,7 @@
5 struct timeval to;
6 fd_set rfds;
7
8 - FD_ZERO(&rfds);
9 + //FD_ZERO(&rfds);
10 FD_SET(fd, &rfds);
11
12 to.tv_sec = timeout / 1000;
13 diff -urN httping-1.0.10.orig/Makefile httping-1.0.10/Makefile
14 --- httping-1.0.10.orig/Makefile 2006-01-02 17:07:29.000000000 +0100
15 +++ httping-1.0.10/Makefile 2006-02-13 13:44:45.066590304 +0100
16 @@ -15,8 +15,8 @@
17 VERSION=1.0.10
18
19 DEBUG=-g
20 -LDFLAGS+=-lssl -lcrypto $(DEBUG)
21 -CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
22 +LDFLAGS+=-lssl -lcrypto $(DEBUG) -L$(STAGING_DIR)/usr/lib
23 +CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -I$(STAGING_DIR)/usr/include
24
25 OBJS=http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o
26
This page took 0.04443 seconds and 5 git commands to generate.