aboutsummaryrefslogtreecommitdiffstats
path: root/devel/soup
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-14 01:25:37 +0800
committermarcus <marcus@FreeBSD.org>2004-08-14 01:25:37 +0800
commited514d0026f573735ee07ede45a03caabdc44195 (patch)
tree4d10203ccf20637ca06fca2f88adf1d17fff89ed /devel/soup
parent77778eb055049de91dfd89e3d780e1378b04e3aa (diff)
downloadfreebsd-ports-gnome-ed514d0026f573735ee07ede45a03caabdc44195.tar.gz
freebsd-ports-gnome-ed514d0026f573735ee07ede45a03caabdc44195.tar.zst
freebsd-ports-gnome-ed514d0026f573735ee07ede45a03caabdc44195.zip
Fix build with GCC 3.4.2. Note: patches were submitted by someone else,
but I accidentally deleted the email, so I had to do these myself. Thanks to womever you were that sent the patches, though.
Diffstat (limited to 'devel/soup')
-rw-r--r--devel/soup/files/patch-src_libwsdl_wsdl-soap-memory.c37
-rw-r--r--devel/soup/files/patch-src_libwsdl_wsdl-soap-parse.c20
-rw-r--r--devel/soup/files/patch-src_libwsdl_wsdl-typecodes.c38
3 files changed, 95 insertions, 0 deletions
diff --git a/devel/soup/files/patch-src_libwsdl_wsdl-soap-memory.c b/devel/soup/files/patch-src_libwsdl_wsdl-soap-memory.c
new file mode 100644
index 000000000000..25fe0e529eff
--- /dev/null
+++ b/devel/soup/files/patch-src_libwsdl_wsdl-soap-memory.c
@@ -0,0 +1,37 @@
+--- src/libwsdl/wsdl-soap-memory.c.orig Fri Aug 13 13:21:36 2004
++++ src/libwsdl/wsdl-soap-memory.c Fri Aug 13 13:23:14 2004
+@@ -33,17 +33,15 @@
+
+ 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!",
+- param->name);
++ G_GNUC_FUNCTION, param->name);
+ } else {
+- memset (param->param,
++ memset (param->param,
+ '\0',
+ wsdl_typecode_size (param->typecode));
+ }
+@@ -71,9 +69,8 @@
+
+ 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 --git a/devel/soup/files/patch-src_libwsdl_wsdl-soap-parse.c b/devel/soup/files/patch-src_libwsdl_wsdl-soap-parse.c
new file mode 100644
index 000000000000..a720b93517c1
--- /dev/null
+++ b/devel/soup/files/patch-src_libwsdl_wsdl-soap-parse.c
@@ -0,0 +1,20 @@
+--- src/libwsdl/wsdl-soap-parse.c.orig Fri Aug 13 13:20:50 2004
++++ src/libwsdl/wsdl-soap-parse.c Fri Aug 13 13:21:05 2004
+@@ -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 --git a/devel/soup/files/patch-src_libwsdl_wsdl-typecodes.c b/devel/soup/files/patch-src_libwsdl_wsdl-typecodes.c
new file mode 100644
index 000000000000..ac2bbc6a3f97
--- /dev/null
+++ b/devel/soup/files/patch-src_libwsdl_wsdl-typecodes.c
@@ -0,0 +1,38 @@
+--- src/libwsdl/wsdl-typecodes.c.orig Fri Aug 13 13:17:44 2004
++++ src/libwsdl/wsdl-typecodes.c Fri Aug 13 13:18:45 2004
+@@ -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;
+ }