Your message dated Sun, 31 Jul 2005 04:02:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#294477: fixed in wy60 2.0.8-5
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 21:44:37 +0000
>From [EMAIL PROTECTED] Wed Feb 09 13:44:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c129064.adsl.hansenet.de (localhost.localdomain) [213.39.129.64] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CyzdU-0001LK-00; Wed, 09 Feb 2005 13:44:37 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CyzdL-0002lk-O7; Wed, 09 Feb 2005 22:44:33 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: wy60: FTBFS (amd64/gcc-4.0): static declaration of 'showCursor' 
follows non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 09 Feb 2005 22:44:33 +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: wy60
Severity: normal
Tags: patch

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

wy60.c:2824: warning: conflicting types for 'showCursor'
wy60.c:2824: error: static declaration of 'showCursor' follows non-static 
declaration
wy60.c:2222: error: previous implicit declaration of 'showCursor' was here
wy60.c: In function 'executeExternalProgram':
wy60.c:2842: error: invalid storage class for function 'failure'
wy60.c: In function 'requestNewGeometry':
wy60.c:2889: error: invalid storage class for function 'processSignal'
wy60.c: At top level:
wy60.c:3089: warning: conflicting types for 'failure'
wy60.c:3089: error: static declaration of 'failure' follows non-static 
declaration
wy60.c:2352: error: previous implicit declaration of 'failure' was here
wy60.c:3403: warning: conflicting types for 'updateAttributes'
wy60.c:3403: error: static declaration of 'updateAttributes' follows non-static 
declaration
wy60.c:2241: error: previous implicit declaration of 'updateAttributes' was here
wy60.c:4944: warning: conflicting types for 'processSignal'
wy60.c:4944: error: static declaration of 'processSignal' follows non-static 
declaration
wy60.c:2935: error: previous implicit declaration of 'processSignal' was here
make[1]: *** [wy60.o] Error 1
make[1]: Leaving directory `/wy60-2.0.8'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/wy60-2.0.8/wy60.c ./wy60.c
--- ../tmp-orig/wy60-2.0.8/wy60.c       2005-02-09 22:40:43.854026898 +0100
+++ ./wy60.c    2005-02-09 22:40:33.810964171 +0100
@@ -2202,15 +2202,15 @@
 }
 
 
-static void displayCurrentScreenBuffer(void) {
-  static void flushConsole(void);
-  static void gotoXYforce(int x, int y);
-  static void putCapability(const char *capability);
-  static int  putConsole(int ch);
-  static void putGraphics(char ch);
-  static void showCursor(int flag);
-  static void updateAttributes(void);
+static void flushConsole(void);
+static void gotoXYforce(int x, int y);
+static void putCapability(const char *capability);
+static int  putConsole(int ch);
+static void putGraphics(char ch);
+static void showCursor(int flag);
+static void updateAttributes(void);
 
+static void displayCurrentScreenBuffer(void) {
   int x, y, lastAttributes      = -1;
   int oldX                      = currentBuffer->cursorX;
   int oldY                      = currentBuffer->cursorY;
@@ -2345,9 +2345,9 @@
 }
 
 
-static void putCapability(const char *capability) {
-  static void failure(int exitCode, const char *message, ...);
+static void failure(int exitCode, const char *message, ...);
 
+static void putCapability(const char *capability) {
   if (!capability || !strcmp(capability, "@"))
     failure(127, "Terminal has insufficient capabilities");
   logHostString(capability);
@@ -2755,9 +2755,9 @@
 }
 
 
-static void putGraphics(char ch) {
-  static void updateAttributes(void);
+static void updateAttributes(void);
 
+static void putGraphics(char ch) {
   if (ch == '\x02')
     graphicsMode                  = 1;
   else if (ch == '\x03')
@@ -2838,8 +2838,9 @@
 }
 
 
+static void failure(int exitCode, const char *message, ...);
+
 static void executeExternalProgram(const char *argv[]) {
-  static void failure(int exitCode, const char *message, ...);
   int    pid, status;
 
   if ((pid = fork()) < 0) {
@@ -2885,9 +2886,9 @@
 }
 
 
-static void requestNewGeometry(int pty, int width, int height) {
-  static void processSignal(int signalNumber, int pid, int pty);
+static void processSignal(int signalNumber, int pid, int pty);
 
+static void requestNewGeometry(int pty, int width, int height) {
   logDecode("setScreenSize(%d,%d)", width, height);
 
   if (screenWidth != width || screenHeight != height) {

---------------------------------------
Received: (at 294477-close) by bugs.debian.org; 31 Jul 2005 11:13:40 +0000
>From [EMAIL PROTECTED] Sun Jul 31 04:13:40 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1DzBa5-0003x8-00; Sun, 31 Jul 2005 04:02:09 -0700
From: Ayman Negm <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#294477: fixed in wy60 2.0.8-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 31 Jul 2005 04:02:09 -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

Source: wy60
Source-Version: 2.0.8-5

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

wy60_2.0.8-5.diff.gz
  to pool/main/w/wy60/wy60_2.0.8-5.diff.gz
wy60_2.0.8-5.dsc
  to pool/main/w/wy60/wy60_2.0.8-5.dsc
wy60_2.0.8-5_i386.deb
  to pool/main/w/wy60/wy60_2.0.8-5_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.
Ayman Negm <[EMAIL PROTECTED]> (supplier of updated wy60 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: Sun, 31 Jul 2005 12:20:46 +0200
Source: wy60
Binary: wy60
Architecture: source i386
Version: 2.0.8-5
Distribution: unstable
Urgency: low
Maintainer: Ayman Negm <[EMAIL PROTECTED]>
Changed-By: Ayman Negm <[EMAIL PROTECTED]>
Description: 
 wy60       - Wyse 60 Terminal Emulator
Closes: 294477
Changes: 
 wy60 (2.0.8-5) unstable; urgency=low
 .
   * Applied patch to fix amd64 compilation Error
     thanks Andreas Jochens <[EMAIL PROTECTED]> (Closes: #294477)
Files: 
 acb9704fd2925f741d8adea7dc9f2ea3 562 net optional wy60_2.0.8-5.dsc
 c7a0704f9ddcaad1066aa2772f0b3233 14815 net optional wy60_2.0.8-5.diff.gz
 8a0a44722fcb8688cee5ffc1115edb6c 41256 net optional wy60_2.0.8-5_i386.deb

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

iD8DBQFC7Kg1J/6l0WPovoIRArJbAKC19L4VL5jikZkeTu9Iwgg3E4+UtwCgpZI1
V1+PZlnsQk0dRnnJEnt+wUI=
=6DYo
-----END PGP SIGNATURE-----


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

Reply via email to