diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-02-13 12:58:34 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-02-13 12:58:34 +0000 |
commit | b2723be1031a22eab36a514234b5968841b4270c (patch) | |
tree | 43a79aa083d45167d1c1a921543be9039b0c82c6 /package/httping/patches | |
parent | 098b606cb3131b1c16ff82f14f3f8c6c3c6d8d19 (diff) | |
download | upstream-b2723be1031a22eab36a514234b5968841b4270c.tar.gz upstream-b2723be1031a22eab36a514234b5968841b4270c.tar.bz2 upstream-b2723be1031a22eab36a514234b5968841b4270c.zip |
Added support for SSL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/httping/patches')
-rw-r--r-- | package/httping/patches/01-honor_includes_lib-paths.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/httping/patches/01-honor_includes_lib-paths.patch b/package/httping/patches/01-honor_includes_lib-paths.patch new file mode 100644 index 0000000000..92817c7b3a --- /dev/null +++ b/package/httping/patches/01-honor_includes_lib-paths.patch @@ -0,0 +1,26 @@ +diff -urN httping-1.0.10.orig/io.c httping-1.0.10/io.c +--- httping-1.0.10.orig/io.c 2006-02-13 13:48:37.645232976 +0100 ++++ httping-1.0.10/io.c 2006-02-13 13:48:24.083294704 +0100 +@@ -37,7 +37,7 @@ + struct timeval to; + fd_set rfds; + +- FD_ZERO(&rfds); ++ //FD_ZERO(&rfds); + FD_SET(fd, &rfds); + + to.tv_sec = timeout / 1000; +diff -urN httping-1.0.10.orig/Makefile httping-1.0.10/Makefile +--- httping-1.0.10.orig/Makefile 2006-01-02 17:07:29.000000000 +0100 ++++ httping-1.0.10/Makefile 2006-02-13 13:44:45.066590304 +0100 +@@ -15,8 +15,8 @@ + VERSION=1.0.10 + + DEBUG=-g +-LDFLAGS+=-lssl -lcrypto $(DEBUG) +-CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) ++LDFLAGS+=-lssl -lcrypto $(DEBUG) -L$(STAGING_DIR)/usr/lib ++CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -I$(STAGING_DIR)/usr/include + + OBJS=http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o + |