summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/soup/files/soup-0.7.11-gcc3.patch')
-rw-r--r--net-libs/soup/files/soup-0.7.11-gcc3.patch96
1 files changed, 96 insertions, 0 deletions
diff --git a/net-libs/soup/files/soup-0.7.11-gcc3.patch b/net-libs/soup/files/soup-0.7.11-gcc3.patch
new file mode 100644
index 000000000000..615cae01d002
--- /dev/null
+++ b/net-libs/soup/files/soup-0.7.11-gcc3.patch
@@ -0,0 +1,96 @@
+diff -ur soup-0.7.11.orig/src/libwsdl/wsdl-soap-memory.c soup-0.7.11/src/libwsdl/wsdl-soap-memory.c
+--- soup-0.7.11.orig/src/libwsdl/wsdl-soap-memory.c 2001-08-27 03:38:53.000000000 +0200
++++ soup-0.7.11/src/libwsdl/wsdl-soap-memory.c 2004-10-27 15:05:10.557844265 +0200
+@@ -33,14 +33,14 @@
+
+ while (param->name != NULL) {
+ if (param->typecode == NULL) {
+- g_warning (G_GNUC_FUNCTION
+- ": Parameter %s has no typecode!",
+- param->name);
++ g_warning ("%s: Parameter %s has no typecode!",
++ G_GNUC_FUNCTION,
++ param->name);
+ } else {
+ if (param->param == NULL) {
+- g_warning (G_GNUC_FUNCTION
+- ": Parameter %s has no "
++ g_warning ("%s: Parameter %s has no "
+ "memory location!",
++ G_GNUC_FUNCTION,
+ param->name);
+ } else {
+ memset (param->param,
+@@ -71,9 +71,9 @@
+
+ while (param->name != NULL) {
+ if (param->typecode == NULL) {
+- g_warning (G_GNUC_FUNCTION
+- ": Parameter %s has no typecode!",
+- param->name);
++ g_warning ("%s: Parameter %s has no typecode!",
++ G_GNUC_FUNCTION,
++ param->name);
+ } else {
+ if (param->param != NULL &&
+ *(guchar **) param->param != NULL &&
+diff -ur soup-0.7.11.orig/src/libwsdl/wsdl-soap-parse.c soup-0.7.11/src/libwsdl/wsdl-soap-parse.c
+--- soup-0.7.11.orig/src/libwsdl/wsdl-soap-parse.c 2002-05-03 22:14:27.000000000 +0200
++++ soup-0.7.11/src/libwsdl/wsdl-soap-parse.c 2004-10-27 15:02:04.000000000 +0200
+@@ -37,7 +37,7 @@
+
+ switch (wsdl_typecode_kind (typecode)) {
+ case WSDL_TK_GLIB_NULL:
+- g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
++ g_warning ("Invalid typecode NULL in %s", G_GNUC_FUNCTION);
+ break;
+
+ case WSDL_TK_GLIB_VOID:
+@@ -203,7 +203,7 @@
+ /* Handled elsewhere */
+ break;
+ case WSDL_TK_GLIB_MAX:
+- g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
++ g_warning ("Invalid typecode MAX in %s", G_GNUC_FUNCTION);
+ break;
+ }
+ }
+diff -ur soup-0.7.11.orig/src/libwsdl/wsdl-typecodes.c soup-0.7.11/src/libwsdl/wsdl-typecodes.c
+--- soup-0.7.11.orig/src/libwsdl/wsdl-typecodes.c 2002-04-05 22:46:30.000000000 +0200
++++ soup-0.7.11/src/libwsdl/wsdl-typecodes.c 2004-10-27 15:01:13.000000000 +0200
+@@ -977,7 +977,7 @@
+ {
+ switch (tc->kind) {
+ case WSDL_TK_GLIB_NULL:
+- g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
++ g_warning ("Invalid typecode NULL in %s", G_GNUC_FUNCTION);
+ return (0);
+ break;
+
+@@ -1082,7 +1082,7 @@
+ break;
+
+ case WSDL_TK_GLIB_MAX:
+- g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
++ g_warning ("Invalid typecode MAX in %s", G_GNUC_FUNCTION);
+ return (0);
+ break;
+ }
+@@ -1106,7 +1106,7 @@
+ {
+ switch (tc->kind) {
+ case WSDL_TK_GLIB_NULL:
+- g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
++ g_warning ("Invalid typecode NULL in %s", G_GNUC_FUNCTION);
+ return (0);
+ break;
+
+@@ -1218,7 +1218,7 @@
+ break;
+
+ case WSDL_TK_GLIB_MAX:
+- g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
++ g_warning ("Invalid typecode MAX in %s", G_GNUC_FUNCTION);
+ return (0);
+ break;
+ }