Bug#286873: gnome-libs: FTBFS (amd64/gcc-4.0): static declaration of 'my_x_query_colors' follows non-static declaration
Andreas Jochens
Andreas Jochens <aj@andaco.de>, 286873@bugs.debian.org
Wed, 22 Dec 2004 20:01:35 +0100
Package: gnome-libs
Severity: normal
Tags: patch
When building 'gnome-libs' on amd64 with gcc-4.0,
I get the following error:
gtk-xmhtml/colors.c:303: error: static declaration of 'my_x_query_colors' follows non-static declaration
With the attached patch 'gnome-libs' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/gnome-libs-1.4.2/gtk-xmhtml/XmHTMLI.h ./gtk-xmhtml/XmHTMLI.h
--- ../tmp-orig/gnome-libs-1.4.2/gtk-xmhtml/XmHTMLI.h 1999-07-29 03:26:28.000000000 +0200
+++ ./gtk-xmhtml/XmHTMLI.h 2004-12-22 18:02:43.408331024 +0100
@@ -1058,9 +1058,6 @@
#include "gtk-xmhtml-p.h"
void gtk_xmhtml_set_outline (GtkXmHTML *html, int flag);
-void my_x_query_colors(GdkColormap *colormap,
- GdkColor *colors,
- gint ncolors);
void
gtk_xmhtml_set_colors (GtkXmHTML *html,
Pixel foreground,