Bug#289207: marked as done (gnome-applets: FTBFS (amd64/gcc-4.0): static declaration of 'change_background' follows non-static declaration)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 10 Jun 2005 14:18:39 -0700


Your message dated Fri, 10 Jun 2005 23:15:01 +0200
with message-id <87mzpxkj6y.fsf@Orfeo.duckcorp.org>
and subject line gnome-applets: FTBFS (amd64/gcc-4.0): static declaration of 'change_background' follows non-static declaration
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Jan 2005 20:47:47 +0000
>From aj@andaco.de Fri Jan 07 12:47:46 2005
Return-path: <aj@andaco.de>
Received: from c186057.adsl.hansenet.de (localhost.localdomain) [213.39.186.57] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cn11O-0004rv-00; Fri, 07 Jan 2005 12:47:46 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1Cn178-0006jv-4s; Fri, 07 Jan 2005 21:53:42 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: gnome-applets: FTBFS (amd64/gcc-4.0): static declaration of 'change_background' follows non-static declaration
Message-Id: <E1Cn178-0006jv-4s@localhost.localdomain>
Date: Fri, 07 Jan 2005 21:53:42 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gnome-applets
Severity: normal
Tags: patch

When building 'gnome-applets' on amd64 with gcc-4.0,
I get the following error:

battstat_applet.c:1446: error: static declaration of 'change_background' follows non-static declaration
battstat.h:155: error: previous declaration of 'change_background' was here
make[4]: *** [battstat_applet.o] Error 1
make[4]: Leaving directory `/gnome-applets-2.8.2/battstat'

With the attached patch 'gnome-applets' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnome-applets-2.8.2/battstat/battstat.h ./battstat/battstat.h
--- ../tmp-orig/gnome-applets-2.8.2/battstat/battstat.h	2004-08-03 16:22:29.000000000 +0200
+++ ./battstat/battstat.h	2005-01-07 19:56:50.413684168 +0100
@@ -151,7 +151,5 @@
 void destroy_about (GtkWidget *, gpointer);
 void about_cb (BonoboUIComponent *, ProgressData *, const char *);
 void size_allocate(PanelApplet *, GtkAllocation *, gpointer);
-void change_background(PanelApplet *a, PanelAppletBackgroundType type, 
-		GdkColor *color, GdkPixmap *pixmap, ProgressData *battstat);	
 gint create_layout(ProgressData *battstat);
 void load_preferences(ProgressData *battstat);

---------------------------------------
Received: (at 289207-done) by bugs.debian.org; 10 Jun 2005 21:15:11 +0000
>From Duck@duckcorp.org Fri Jun 10 14:15:11 2005
Return-path: <Duck@duckcorp.org>
Received: from orfeo.duckcorp.org (mx.duckcorp.org) [62.4.21.229] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DgqqN-0007X3-00; Fri, 10 Jun 2005 14:15:11 -0700
Received: from localhost (localhost [127.0.0.1])
	by mx.duckcorp.org (Postfix) with ESMTP id 3D28B5000B4
	for <289207-done@bugs.debian.org>; Fri, 10 Jun 2005 23:15:10 +0200 (CEST)
Received: from mx.duckcorp.org ([127.0.0.1])
	by localhost (Orfeo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 13671-02 for <289207-done@bugs.debian.org>;
	Fri, 10 Jun 2005 23:15:05 +0200 (CEST)
Received: from Orfeo.duckcorp.org (localhost [127.0.0.1])
	by mx.duckcorp.org (Postfix) with ESMTP id 83D5050009A
	for <289207-done@bugs.debian.org>; Fri, 10 Jun 2005 23:15:05 +0200 (CEST)
From: =?utf-8?q?Marc_Dequ=C3=A8nes?= (Duck) <Duck@DuckCorp.org>
To: 289207-done@bugs.debian.org
Subject: gnome-applets: FTBFS (amd64/gcc-4.0): static declaration of
 'change_background' follows non-static declaration
Organization: DuckCorp
X-URL: https://www.duckcorp.org/
X-GnuPG-Key: 0x90267086
Date: Fri, 10 Jun 2005 23:15:01 +0200
Message-ID: <87mzpxkj6y.fsf@Orfeo.duckcorp.org>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-Virus-Scanned: by Amavis at DuckCorp
Delivered-To: 289207-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Coin,

Fixed in 2.10.1-3 just uploaded.

=2D-=20
Marc Dequ=C3=A8nes (Duck)

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCqgLZsczZcpAmcIYRAqU9AKCMcnO8YKqIEeDGrle+qqMQKXCTxACgh2Zu
+BFLgHwqh5e6j1J0n7f9LC8=
=QejJ
-----END PGP SIGNATURE-----
--=-=-=--