Your message dated Tue, 04 Oct 2005 05:32:13 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#294392: fixed in xmcpustate 3-12
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; 9 Feb 2005 14:36:42 +0000
>From [EMAIL PROTECTED] Wed Feb 09 06:36:42 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d157137.adsl.hansenet.de (localhost.localdomain) 
[80.171.157.137] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CysxO-0007I2-00; Wed, 09 Feb 2005 06:36:42 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CysxL-0001jr-5z; Wed, 09 Feb 2005 15:36:39 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xmcpustate: FTBFS (amd64/gcc-4.0): invalid storage class for function 
'update_display'
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 09 Feb 2005 15:36:39 +0100
Delivered-To: [EMAIL PROTECTED]
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: xmcpustate
Severity: normal
Tags: patch

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

gcc -c -Wall -g -O2  -I/usr/X11R6/include  xmcpustate.c
xmcpustate.c: In function 'xmalloc':
xmcpustate.c:146: error: conflicting types for 'malloc'
xmcpustate.c: In function 'main':
xmcpustate.c:180: error: invalid storage class for function 'update_display'
xmcpustate.c:355: error: 'update_display' undeclared (first use in this 
function)
xmcpustate.c:355: error: (Each undeclared identifier is reported only once
xmcpustate.c:355: error: for each function it appears in.)
make[1]: *** [xmcpustate.o] Error 1
make[1]: Leaving directory `/xmcpustate-3'
make: *** [build-stamp] Error 2

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

The attached patch includes a part which was already necessary with gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xmcpustate-3/xmcpustate.c ./xmcpustate.c
--- ../tmp-orig/xmcpustate-3/xmcpustate.c       2005-02-09 14:55:49.972045366 
+0100
+++ ./xmcpustate.c      2005-02-09 14:55:32.780370159 +0100
@@ -143,7 +143,6 @@
 char *
 xmalloc(int n)
 {
-       extern char *malloc();
        char *cp = malloc((unsigned) n);
        if (cp == NULL) {
                (void) fprintf(stderr, "Couldn't malloc %d bytes\n", n);
@@ -173,11 +172,12 @@
                (XtEventHandler)SetShellSize, NULL);
 }
 
+static void update_display();
+
 int 
 main(int argc, char **argv)
 {
        int i = 0, *iptr;
-       static void update_display();
        Widget topLevel;
        Widget form;
        Widget frame = NULL, subform = NULL;

---------------------------------------
Received: (at 294392-close) by bugs.debian.org; 4 Oct 2005 12:41:19 +0000
>From [EMAIL PROTECTED] Tue Oct 04 05:41:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EMlxt-0004OK-00; Tue, 04 Oct 2005 05:32:13 -0700
From: Andrew Pollock <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#294392: fixed in xmcpustate 3-12
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 04 Oct 2005 05:32:13 -0700
Delivered-To: [EMAIL PROTECTED]
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-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: xmcpustate
Source-Version: 3-12

We believe that the bug you reported is fixed in the latest version of
xmcpustate, which is due to be installed in the Debian FTP archive:

xmcpustate_3-12.diff.gz
  to pool/main/x/xmcpustate/xmcpustate_3-12.diff.gz
xmcpustate_3-12.dsc
  to pool/main/x/xmcpustate/xmcpustate_3-12.dsc
xmcpustate_3-12_i386.deb
  to pool/main/x/xmcpustate/xmcpustate_3-12_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Pollock <[EMAIL PROTECTED]> (supplier of updated xmcpustate package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  4 Oct 2005 22:15:08 +1000
Source: xmcpustate
Binary: xmcpustate
Architecture: source i386
Version: 3-12
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description: 
 xmcpustate - Displays CPU/Swap/Memory/Network load
Closes: 260846 294392
Changes: 
 xmcpustate (3-12) unstable; urgency=low
 .
   * QA Group upload orphaning this package
   * debian/control: build-depend on dpatch
   * debian/rules: add dpatch support
   * Added patch from Andreas Jochens to fix FTBFS with gcc-3.4 (closes:
     #260846)
   * Added patch from Andreas Jochens to fix FTBFS with gcc-4.0 on amd64
     (closes: #294392)
   * debian/menu: quoted the unquoted
Files: 
 1a160a547d0a9a323f12e61daae1b542 592 utils optional xmcpustate_3-12.dsc
 9474ce34b458f270ca55fa2efacbd13e 5398 utils optional xmcpustate_3-12.diff.gz
 607a0007e88b169347ddc0cf52da706c 12058 utils optional xmcpustate_3-12_i386.deb

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

iD8DBQFDQnLRIblXXKfZFgIRAuLKAJ0eKgF2kxwsiUtSK878bl1afcRfQACfbbuT
ES6vc+XJAPt+UhgXnh5Uyww=
=4DBh
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to