* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / gnome1 / soup / hotfix-gcc34.patch
blobed69ed39141e23aeb0fc96742d2f5083353a906e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../soup/gcc34.patch
5 # Copyright (C) 2004 - 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 ---
16 diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-soap-memory.c soup-0.7.11/src/libwsdl/wsdl-soap-memory.c
17 --- soup-0.7.11-orig/src/libwsdl/wsdl-soap-memory.c 2001-08-27 03:38:53.000000000 +0200
18 +++ soup-0.7.11/src/libwsdl/wsdl-soap-memory.c 2004-10-06 07:09:32.004502496 +0200
19 @@ -33,14 +33,12 @@
21 while (param->name != NULL) {
22 if (param->typecode == NULL) {
23 - g_warning (G_GNUC_FUNCTION
24 - ": Parameter %s has no typecode!",
25 + g_warning ("%s: Parameter %s has no typecode!", G_GNUC_PRETTY_FUNCTION,
26 param->name);
27 } else {
28 if (param->param == NULL) {
29 - g_warning (G_GNUC_FUNCTION
30 - ": Parameter %s has no "
31 - "memory location!",
32 + g_warning ("%s: Parameter %s has no "
33 + "memory location!", G_GNUC_PRETTY_FUNCTION,
34 param->name);
35 } else {
36 memset (param->param,
37 @@ -71,8 +69,7 @@
39 while (param->name != NULL) {
40 if (param->typecode == NULL) {
41 - g_warning (G_GNUC_FUNCTION
42 - ": Parameter %s has no typecode!",
43 + g_warning ("%s: Parameter %s has no typecode!", G_GNUC_PRETTY_FUNCTION,
44 param->name);
45 } else {
46 if (param->param != NULL &&
47 diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-soap-parse.c soup-0.7.11/src/libwsdl/wsdl-soap-parse.c
48 --- soup-0.7.11-orig/src/libwsdl/wsdl-soap-parse.c 2002-05-03 22:14:27.000000000 +0200
49 +++ soup-0.7.11/src/libwsdl/wsdl-soap-parse.c 2004-10-06 06:03:33.617268824 +0200
50 @@ -37,7 +37,7 @@
52 switch (wsdl_typecode_kind (typecode)) {
53 case WSDL_TK_GLIB_NULL:
54 - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
55 + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
56 break;
58 case WSDL_TK_GLIB_VOID:
59 @@ -203,7 +203,7 @@
60 /* Handled elsewhere */
61 break;
62 case WSDL_TK_GLIB_MAX:
63 - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
64 + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
65 break;
68 diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-typecodes.c soup-0.7.11/src/libwsdl/wsdl-typecodes.c
69 --- soup-0.7.11-orig/src/libwsdl/wsdl-typecodes.c 2002-04-05 22:46:30.000000000 +0200
70 +++ soup-0.7.11/src/libwsdl/wsdl-typecodes.c 2004-10-06 06:03:33.598271712 +0200
71 @@ -977,7 +977,7 @@
73 switch (tc->kind) {
74 case WSDL_TK_GLIB_NULL:
75 - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
76 + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
77 return (0);
78 break;
80 @@ -1082,7 +1082,7 @@
81 break;
83 case WSDL_TK_GLIB_MAX:
84 - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
85 + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
86 return (0);
87 break;
89 @@ -1106,7 +1106,7 @@
91 switch (tc->kind) {
92 case WSDL_TK_GLIB_NULL:
93 - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
94 + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
95 return (0);
96 break;
98 @@ -1218,7 +1218,7 @@
99 break;
101 case WSDL_TK_GLIB_MAX:
102 - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
103 + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
104 return (0);
105 break;