* updated wlroots (0.17.3 -> 0.18.1)
[t2sde.git] / package / gnome1 / soup / hotfix-gcc4.patch
blobff39bdaca4eefe6bfc3fb6b709309cb303c65a4d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../soup/gcc4.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur soup-0.7.11-orig/src/libsoup/soup-queue.c soup-0.7.11/src/libsoup/soup-queue.c
18 --- soup-0.7.11-orig/src/libsoup/soup-queue.c 2002-12-02 16:02:23.000000000 +0000
19 +++ soup-0.7.11/src/libsoup/soup-queue.c 2006-02-04 19:55:17.181652500 +0000
20 @@ -30,7 +30,7 @@
21 #include "soup-ssl.h"
22 #include "soup-transfer.h"
24 -static GSList *soup_active_requests = NULL, *soup_active_request_next = NULL;
25 +GSList *soup_active_requests = NULL, *soup_active_request_next = NULL;
27 static guint soup_queue_idle_tag = 0;
29 diff -Nur soup-0.7.11-orig/src/libsoup/soup-server.c soup-0.7.11/src/libsoup/soup-server.c
30 --- soup-0.7.11-orig/src/libsoup/soup-server.c 2002-07-26 15:34:12.000000000 +0000
31 +++ soup-0.7.11/src/libsoup/soup-server.c 2006-02-04 19:59:52.002827750 +0000
32 @@ -312,7 +312,8 @@
34 * Get request HTTP method
36 - (gchar *) msg->method = g_strdup (g_getenv ("REQUEST_METHOD"));
37 + const method = g_strdup (g_getenv ("REQUEST_METHOD"));
38 + (gchar *) msg->method;
40 /*
41 * Get content length of request body