Patches for soup-0.7.11

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Fri Aug 13 20:35:26 PDT 2004


On Thu, 2004-08-12 at 11:51, Joe Marcus Clarke wrote:
> On Thu, 2004-08-12 at 09:32, Alexandre "Sunny" Kovalenko wrote:
> > I have attached (rather mechanical) patches to allow devel/soup (0.7.11)
> > to be compiled with gcc 3.4.2 (now standard in FreeBSD-current). I see
> > no reason why these patches would not work with previous versions of
> > gcc, but I have been wrong before.
> > 
> > If you need to contact me, please, E-mail direct, as I am not
> > subscribing to ports at .
> 
> Please resubmit in unified diff format.  Thanks.
> 
> Joe
> 
> > 
> > ---
> > Alexandre "Sunny" Kovalenko.
> > 
> > 
> > ______________________________________________________________________
> > _______________________________________________
> > freebsd-gnome at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
Sorry for being stupid -- don't do patches too often... ;)

Attached udiff ones. Please, let me know if there is anything  else I
can do.

---
Alexandre "Sunny" Kovalenko.
-------------- next part --------------
--- wsdl-soap-memory.c.ORIG	Fri Aug 13 23:25:57 2004
+++ wsdl-soap-memory.c	Fri Aug 13 23:28:22 2004
@@ -33,14 +33,14 @@
 
 	while (param->name != NULL) {
 		if (param->typecode == NULL) {
-			g_warning (G_GNUC_FUNCTION
-				   ": Parameter %s has no typecode!",
+			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,8 +71,8 @@
 
 	while (param->name != NULL) {
 		if (param->typecode == NULL) {
-			g_warning (G_GNUC_FUNCTION
-				   ": Parameter %s has no typecode!",
+			g_warning ("%s: Parameter %s has no typecode!",
+				   G_GNUC_FUNCTION,
 				   param->name);
 		} else {
 			if (param->param != NULL &&
-------------- next part --------------
--- wsdl-soap-parse.c.ORIG	Fri Aug 13 23:26:21 2004
+++ wsdl-soap-parse.c	Fri Aug 13 23:28:47 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;
 	}
 }
-------------- next part --------------
--- wsdl-typecodes.c.ORIG	Fri Aug 13 23:26:48 2004
+++ wsdl-typecodes.c	Fri Aug 13 23:29:09 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;
 	}


More information about the freebsd-gnome mailing list