summaryrefslogtreecommitdiff
path: root/package/httping/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-15 22:30:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-15 22:30:13 +0100
commitc57d0300bd42fabd8eeda2a95b6c3960d6e7ce07 (patch)
treeb53bc538246b5a900300b5c6b5ea740f978196f4 /package/httping/patches
parentcf4b3959527339206254b8c8fc44deb391beeb10 (diff)
parent023560ac69a2ecf5659c668c26c0af6b5612a46b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/nspr/Makefile
Diffstat (limited to 'package/httping/patches')
-rw-r--r--package/httping/patches/patch-Makefile35
-rw-r--r--package/httping/patches/patch-io_c12
-rw-r--r--package/httping/patches/patch-str_c16
-rw-r--r--package/httping/patches/patch-str_h12
4 files changed, 21 insertions, 54 deletions
diff --git a/package/httping/patches/patch-Makefile b/package/httping/patches/patch-Makefile
index 89099b868..9b7f55b7b 100644
--- a/package/httping/patches/patch-Makefile
+++ b/package/httping/patches/patch-Makefile
@@ -1,14 +1,21 @@
-$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
-
+--- httping-1.4.1.orig/Makefile 2010-01-10 21:35:22.000000000 +0100
++++ httping-1.4.1/Makefile 2010-02-14 11:30:47.000000000 +0100
+@@ -17,7 +17,7 @@ include version
+ TARGET=httping
+
+ WFLAGS=-Wall -W
+-OFLAGS=-O2
++OFLAGS=
+ CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
+
+ PACKAGE=$(TARGET)-$(VERSION)
+@@ -73,9 +73,6 @@ install: $(TARGET)
+ $(INSTALLMAN) $(MANS) $(DESTDIR)/$(MANDIR)/man1
+ $(INSTALLDIR) $(DESTDIR)/$(DOCDIR)
+ $(INSTALLDOC) $(DOCS) $(DESTDIR)/$(DOCDIR)
+-ifneq (DEBUG,yes)
+- $(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
+-endif
+
+ clean:
+ $(RMDIR) $(OBJS) $(TARGET) *~ core
diff --git a/package/httping/patches/patch-io_c b/package/httping/patches/patch-io_c
deleted file mode 100644
index b1ac1166b..000000000
--- a/package/httping/patches/patch-io_c
+++ /dev/null
@@ -1,12 +0,0 @@
-$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;
diff --git a/package/httping/patches/patch-str_c b/package/httping/patches/patch-str_c
deleted file mode 100644
index 8778ef40b..000000000
--- a/package/httping/patches/patch-str_c
+++ /dev/null
@@ -1,16 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- httping-1.3.0.orig/str.c 2009-02-18 16:32:43.000000000 +0100
-+++ httping-1.3.0/str.c 2009-06-01 21:31:19.000000000 +0200
-@@ -18,6 +18,7 @@
- #include "mem.h"
- #include "utils.h"
-
-+/*
- #ifndef strndup
- char *strndup(char *in, int size)
- {
-@@ -29,3 +30,4 @@ char *strndup(char *in, int size)
- return out;
- }
- #endif
-+*/
diff --git a/package/httping/patches/patch-str_h b/package/httping/patches/patch-str_h
deleted file mode 100644
index c7b81ed65..000000000
--- a/package/httping/patches/patch-str_h
+++ /dev/null
@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- httping-1.3.0.orig/str.h 2009-02-18 16:32:43.000000000 +0100
-+++ httping-1.3.0/str.h 2009-06-01 21:30:39.000000000 +0200
-@@ -15,6 +15,8 @@
-
- #include <string.h>
-
-+/*
- #ifndef strndup
- char *strndup(char *in, int size);
- #endif
-+*/