summaryrefslogtreecommitdiff
path: root/net/httping/patches
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-09-18 20:30:00 +0000
committeradrianp <adrianp@pkgsrc.org>2007-09-18 20:30:00 +0000
commit5c9ff64b85e61e6c7dd78511f6ab0842a1702e7b (patch)
tree950b21124ce33d133668dbabe54e30c453ede173 /net/httping/patches
parentd45a8a2216cc736d5852b3f90cbee34883bf01d5 (diff)
downloadpkgsrc-5c9ff64b85e61e6c7dd78511f6ab0842a1702e7b.tar.gz
Update to 1.2.5
Fix build on systems that don't have strndup(3) (PR #36281) 1.2.5 showing the status code would garble the screen 1.2.4 fixed memory-leak in SSL code
Diffstat (limited to 'net/httping/patches')
-rw-r--r--net/httping/patches/patch-aa24
-rw-r--r--net/httping/patches/patch-ab13
-rw-r--r--net/httping/patches/patch-ac12
3 files changed, 49 insertions, 0 deletions
diff --git a/net/httping/patches/patch-aa b/net/httping/patches/patch-aa
new file mode 100644
index 00000000000..86e82fb8839
--- /dev/null
+++ b/net/httping/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1 2007/09/18 20:30:00 adrianp Exp $
+
+--- Makefile.orig 2007-07-26 09:00:31.000000000 +0100
++++ Makefile
+@@ -14,16 +14,15 @@
+
+ include version
+
+-DEBUG=-g # -D_DEBUG
+-LDFLAGS+=-lssl -lcrypto $(DEBUG)
+-CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
++LDFLAGS+=-lssl -lcrypto
++CFLAGS+=-DVERSION=\"$(VERSION)\"
+
+ OBJS=mem.o http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o
+
+ all: httping
+
+ httping: $(OBJS)
+- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o httping
++ $(CC) -W $(OBJS) $(LDFLAGS) -o httping
+ #
+ # Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html
+
diff --git a/net/httping/patches/patch-ab b/net/httping/patches/patch-ab
new file mode 100644
index 00000000000..f70f7bf606e
--- /dev/null
+++ b/net/httping/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/09/18 20:30:01 adrianp Exp $
+
+--- str.c.orig 2007-07-26 09:00:31.000000000 +0100
++++ str.c
+@@ -18,7 +18,7 @@
+ #include "mem.h"
+ #include "utils.h"
+
+-#ifndef strndup
++#ifndef HAVE_STRNDUP
+ char *strndup(char *in, int size)
+ {
+ char *out = mymalloc(size + 1, "strndup");
diff --git a/net/httping/patches/patch-ac b/net/httping/patches/patch-ac
new file mode 100644
index 00000000000..e720eec2f70
--- /dev/null
+++ b/net/httping/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2007/09/18 20:30:01 adrianp Exp $
+
+--- str.h.orig 2007-07-26 09:00:31.000000000 +0100
++++ str.h
+@@ -15,6 +15,6 @@
+
+ #include <string.h>
+
+-#ifndef strndup
++#ifndef HAVE_STRNDUP
+ char *strndup(char *in, int size);
+ #endif