summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz>2006-06-27 14:53:42 +0000
committerwiz <wiz>2006-06-27 14:53:42 +0000
commit5adbe82543a39a92f1e9b0e2745b53fe09fc1f78 (patch)
tree9438ddca95a530db57798cf3b1bd582529f85802 /net
parente5f186f8efe742c903a12e468a7d975d07c02392 (diff)
downloadpkgsrc-5adbe82543a39a92f1e9b0e2745b53fe09fc1f78.tar.gz
Fix build with gcc4 on NetBSD-3.99.21.
Diffstat (limited to 'net')
-rw-r--r--net/soup/distinfo5
-rw-r--r--net/soup/patches/patch-ag15
-rw-r--r--net/soup/patches/patch-ah13
3 files changed, 27 insertions, 6 deletions
diff --git a/net/soup/distinfo b/net/soup/distinfo
index 1113e98151e..9fa46d6b266 100644
--- a/net/soup/distinfo
+++ b/net/soup/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2006/06/09 20:36:31 dbj Exp $
+$NetBSD: distinfo,v 1.13 2006/06/27 14:55:54 wiz Exp $
SHA1 (soup-0.7.11.tar.bz2) = 47b185b57311053eb8a30c655981b7136c228923
RMD160 (soup-0.7.11.tar.bz2) = d63a0af5a4739a6e529bd797e5cb570e872b6d6b
@@ -9,4 +9,5 @@ SHA1 (patch-ac) = da73ee261bd8e4247738d99210a2ed12c0315a13
SHA1 (patch-ad) = 5d14207d9b8f6c634016f098f876c66438ebdabf
SHA1 (patch-ae) = 9f33467fae553b666fb9890197fd7b15dde78722
SHA1 (patch-af) = 27e30c8ae3ebdca706551b656bee6adcdc8f28ac
-SHA1 (patch-ag) = 0e09f12a2a4eaf2b7aabf8d2d3e734d96f5fa706
+SHA1 (patch-ag) = ac60efa34fed8b54e16a110546f780e1336ad572
+SHA1 (patch-ah) = 6fdbe5d91fac3ad3ab8f5c5de7e4b6f7012856c0
diff --git a/net/soup/patches/patch-ag b/net/soup/patches/patch-ag
index 416e8e93329..3627d6295e9 100644
--- a/net/soup/patches/patch-ag
+++ b/net/soup/patches/patch-ag
@@ -1,8 +1,15 @@
-$NetBSD: patch-ag,v 1.2 2006/06/09 20:36:31 dbj Exp $
+$NetBSD: patch-ag,v 1.3 2006/06/27 14:55:54 wiz Exp $
---- src/libsoup/soup-private.h.orig 2003-01-02 14:04:09.000000000 -0500
+--- src/libsoup/soup-private.h.orig 2003-01-02 19:04:09.000000000 +0000
+++ src/libsoup/soup-private.h
-@@ -31,7 +31,9 @@
+@@ -26,12 +26,16 @@
+ #else
+ # ifdef HAVE_ALLOCA_H
+ # include <alloca.h>
++# elif defined(HAVE_STDLIB_H)
++# include <stdlib.h>
+ # else
+ # ifdef _AIX
# pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
@@ -12,7 +19,7 @@ $NetBSD: patch-ag,v 1.2 2006/06/09 20:36:31 dbj Exp $
# endif
# endif
# endif
-@@ -68,7 +70,6 @@ extern "C" {
+@@ -68,7 +72,6 @@ extern "C" {
#define RESPONSE_BLOCK_SIZE 8192
extern gboolean soup_initialized;
diff --git a/net/soup/patches/patch-ah b/net/soup/patches/patch-ah
new file mode 100644
index 00000000000..8768483fc87
--- /dev/null
+++ b/net/soup/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2006/06/27 14:55:54 wiz Exp $
+
+--- src/libsoup/soup-server.c.orig 2002-07-26 15:34:12.000000000 +0000
++++ src/libsoup/soup-server.c
+@@ -312,7 +312,7 @@ read_headers_cgi (SoupMessage *msg,
+ /*
+ * Get request HTTP method
+ */
+- (gchar *) msg->method = g_strdup (g_getenv ("REQUEST_METHOD"));
++ msg->method = g_strdup (g_getenv ("REQUEST_METHOD"));
+
+ /*
+ * Get content length of request body