# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../soup/gcc4.patch
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---

diff -Nur soup-0.7.11-orig/src/libsoup/soup-queue.c soup-0.7.11/src/libsoup/soup-queue.c
--- soup-0.7.11-orig/src/libsoup/soup-queue.c	2002-12-02 16:02:23.000000000 +0000
+++ soup-0.7.11/src/libsoup/soup-queue.c	2006-02-04 19:55:17.181652500 +0000
@@ -30,7 +30,7 @@
 #include "soup-ssl.h"
 #include "soup-transfer.h"
 
-static GSList *soup_active_requests = NULL, *soup_active_request_next = NULL;
+GSList *soup_active_requests = NULL, *soup_active_request_next = NULL;
 
 static guint soup_queue_idle_tag = 0;
 
diff -Nur soup-0.7.11-orig/src/libsoup/soup-server.c soup-0.7.11/src/libsoup/soup-server.c
--- soup-0.7.11-orig/src/libsoup/soup-server.c	2002-07-26 15:34:12.000000000 +0000
+++ soup-0.7.11/src/libsoup/soup-server.c	2006-02-04 19:59:52.002827750 +0000
@@ -312,7 +312,8 @@
 	/*
 	 * Get request HTTP method
 	 */
-	(gchar *) msg->method = g_strdup (g_getenv ("REQUEST_METHOD"));
+	const method = g_strdup (g_getenv ("REQUEST_METHOD"));
+	(gchar *) msg->method;
 
 	/* 
 	 * Get content length of request body