File gnome-libs-gcc4.patch of Package gnome-libs

--- gnome-libs-1.4.1.7/gtk-xmhtml/colors.c.xx	2005-02-02 09:29:20.801286119 +0100
+++ gnome-libs-1.4.1.7/gtk-xmhtml/colors.c	2005-02-02 09:32:57.774133316 +0100
@@ -297,7 +297,7 @@
  */
 #ifndef WITH_MOTIF
 static void
-my_x_query_colors(GdkColormap *colormap,
+xmy_x_query_colors(GdkColormap *colormap,
 		  GdkColor    *colors,
 		  gint         ncolors)
 {
@@ -798,7 +798,7 @@
 	 */
 
 	cbackground.pixel = background;
-	my_x_query_colors(colormap, &cbackground, 1);
+	xmy_x_query_colors(colormap, &cbackground, 1);
 
 	if (top) {
 		shade_color(&cbackground, &ctop, LIGHT_MULT);
@@ -1013,7 +1013,7 @@
 #ifdef WITH_MOTIF
 		XQueryColors(dpy, colormap, cmap, cmapsize);
 #else
-		my_x_query_colors(colormap, cmap, cmapsize);
+		xmy_x_query_colors(colormap, cmap, cmapsize);
 #endif
 
 		mdist = 0x1000000;
openSUSE Build Service is sponsored by