diff options
Diffstat (limited to 'package/httping/patches')
-rw-r--r-- | package/httping/patches/patch-Makefile | 14 | ||||
-rw-r--r-- | package/httping/patches/patch-io_c | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/package/httping/patches/patch-Makefile b/package/httping/patches/patch-Makefile new file mode 100644 index 000000000..89099b868 --- /dev/null +++ b/package/httping/patches/patch-Makefile @@ -0,0 +1,14 @@ +$Id$ +--- httping-1.2.3.orig/Makefile 2007-05-01 14:05:43.000000000 +0000 ++++ httping-1.2.3/Makefile 2007-06-20 14:19:59.000000000 +0000 +@@ -15,8 +15,8 @@ + include version + + DEBUG=-g # -D_DEBUG +-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=mem.o http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o + diff --git a/package/httping/patches/patch-io_c b/package/httping/patches/patch-io_c new file mode 100644 index 000000000..b1ac1166b --- /dev/null +++ b/package/httping/patches/patch-io_c @@ -0,0 +1,12 @@ +$Id$ +--- httping-1.2.3.orig/io.c 2007-05-01 14:05:43.000000000 +0000 ++++ httping-1.2.3/io.c 2007-06-20 14:19:11.000000000 +0000 +@@ -37,7 +37,7 @@ ssize_t myread(int fd, char *whereto, si + struct timeval to; + fd_set rfds; + +- FD_ZERO(&rfds); ++ //FD_ZERO(&rfds); + FD_SET(fd, &rfds); + + to.tv_sec = timeout / 1000; |