Your message dated Fri, 07 Oct 2005 05:47:11 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#287374: fixed in lde 2.6.0-7
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; 27 Dec 2004 12:21:11 +0000
>From [EMAIL PROTECTED] Mon Dec 27 04:21:11 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c156115.adsl.hansenet.de (localhost.localdomain) 
[213.39.156.115] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cits6-0004LP-00; Mon, 27 Dec 2004 04:21:10 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CitxD-0003cO-4N; Mon, 27 Dec 2004 13:26:27 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: lde: FTBFS (amd64/gcc-4.0): static declaration of 'daylight' follows 
non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 27 Dec 2004 13:26:27 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (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_2004_03_25
X-Spam-Level: 

Package: lde
Severity: normal
Tags: patch

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

cnews/getdate.y:19: error: static declaration of 'daylight' follows
non-static declaration /usr/include/time.h:287: error: previous
declaration of 'daylight' was here cnews/getdate.y:159: error: static
declaration of 'timeconv' follows non-static declaration
cnews/getdate.y:123: error: previous declaration of 'timeconv' was here
cnews/getdate.y:193: error: static declaration of 'daylcorr' follows
non-static declaration cnews/getdate.y:179: error: previous declaration
of 'daylcorr' was here cnews/getdate.y:427: error: static declaration of
'lookup' follows non-static declaration cnews/getdate.y:238: error:
previous implicit declaration of 'lookup' was here make[3]: ***
[getdate.o] Error 1 make[3]: Leaving directory `/lde-2.6.0/src/swiped'
make[2]: *** [swiped.a] Error 2 make[2]: Leaving directory
`/lde-2.6.0/src' make[1]: *** [dummy.src] Error 2 make[1]: Leaving
directory `/lde-2.6.0' make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/lde-2.6.0/src/swiped/cnews/getdate.y 
./src/swiped/cnews/getdate.y
--- ../tmp-orig/lde-2.6.0/src/swiped/cnews/getdate.y    2004-12-27 
13:17:51.284746320 +0100
+++ ./src/swiped/cnews/getdate.y        2004-12-27 13:17:46.808426824 +0100
@@ -16,7 +16,7 @@
 
        static int timeflag, zoneflag, dateflag, dayflag, relflag;
        static time_t relsec, relmonth;
-       static int hh, mm, ss, merid, daylight;
+       static int hh, mm, ss, merid, daylight_s;
        static int dayord, dayreq;
        static int month, day, year;
        static int ourzone;
@@ -57,19 +57,19 @@
                {hh = $1; mm = $3; merid = $4;}
        | NUMBER ':' NUMBER NUMBER
                {hh = $1; mm = $3; merid = 24;
-               daylight = STANDARD; ourzone = $4%100 + 60*$4/100;}
+               daylight_s = STANDARD; ourzone = $4%100 + 60*$4/100;}
        | NUMBER ':' NUMBER ':' NUMBER
                {hh = $1; mm = $3; ss = $5; merid = 24;}
        | NUMBER ':' NUMBER ':' NUMBER MERIDIAN
                {hh = $1; mm = $3; ss = $5; merid = $6;}
        | NUMBER ':' NUMBER ':' NUMBER NUMBER
                {hh = $1; mm = $3; ss = $5; merid = 24;
-               daylight = STANDARD; ourzone = $6%100 + 60*$6/100;};
+               daylight_s = STANDARD; ourzone = $6%100 + 60*$6/100;};
 
 zone:  ZONE
-               {ourzone = $1; daylight = STANDARD;}
+               {ourzone = $1; daylight_s = STANDARD;}
        | DAYZONE
-               {ourzone = $1; daylight = DAYLIGHT;};
+               {ourzone = $1; daylight_s = DAYLIGHT;};
 
 dyspec:        DAY
                {dayord = 1; dayreq = $1;}
@@ -114,13 +114,14 @@
 
 extern struct tm *localtime();
 
+static time_t timeconv();
+
 static time_t
 dateconv(mm, dd, yy, h, m, s, mer, zone, dayflag)
 int mm, dd, yy, h, m, s, mer, zone, dayflag;
 {
        time_t tod, jdate;
        register int i;
-       time_t timeconv();
 
        if (yy < 0) yy = -yy;
        if (yy < 70) yy += 2000; else if (yy < 100) yy += 1900;
@@ -139,13 +140,14 @@
        return (jdate);
 }
 
+static time_t daylcorr();
+
 static time_t
 dayconv(ord, day, now)
 int ord, day; time_t now;
 {
        register struct tm *loctime;
        time_t tod;
-       time_t daylcorr();
 
        tod = now;
        loctime = localtime(&tod);
@@ -176,7 +178,6 @@
 {
        struct tm *ltime;
        time_t dateconv();
-       time_t daylcorr();
        int mm, yy;
 
        if (relmonth == 0) return 0;
@@ -201,6 +202,8 @@
 
 static char *lptr;
 
+static lookup(char *id);
+
 yylex()
 {
        extern int yylval;
@@ -509,7 +512,7 @@
        relsec = 0; relmonth = 0;
        timeflag=zoneflag=dateflag=dayflag=relflag=0;
        ourzone = now->timezone;
-       daylight = MAYBE;
+       daylight_s = MAYBE;
        hh = mm = ss = 0;
        merid = 24;
 
@@ -522,7 +525,7 @@
 
        if (err) return (-1);
        if (dateflag || timeflag || dayflag) {
-               sdate = 
dateconv(month,day,year,hh,mm,ss,merid,ourzone,daylight);
+               sdate = 
dateconv(month,day,year,hh,mm,ss,merid,ourzone,daylight_s);
                if (sdate < 0) return -1;
        }
        else {

---------------------------------------
Received: (at 287374-close) by bugs.debian.org; 7 Oct 2005 12:50:27 +0000
>From [EMAIL PROTECTED] Fri Oct 07 05:50:27 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ENrd1-0001RF-00; Fri, 07 Oct 2005 05:47:11 -0700
From: Petr Cech <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#287374: fixed in lde 2.6.0-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 07 Oct 2005 05:47:11 -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: lde
Source-Version: 2.6.0-7

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

lde_2.6.0-7.diff.gz
  to pool/main/l/lde/lde_2.6.0-7.diff.gz
lde_2.6.0-7.dsc
  to pool/main/l/lde/lde_2.6.0-7.dsc
lde_2.6.0-7_i386.deb
  to pool/main/l/lde/lde_2.6.0-7_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.
Petr Cech <[EMAIL PROTECTED]> (supplier of updated lde 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: Fri,  7 Oct 2005 14:34:22 +0200
Source: lde
Binary: lde
Architecture: source i386
Version: 2.6.0-7
Distribution: unstable
Urgency: low
Maintainer: Petr Cech <[EMAIL PROTECTED]>
Changed-By: Petr Cech <[EMAIL PROTECTED]>
Description: 
 lde        - Linux Disk Editor
Closes: 287374
Changes: 
 lde (2.6.0-7) unstable; urgency=low
 .
   * Apply patch for FTBFS on adm64/gcc4 from Andreas Jochens (closes: #287374)
Files: 
 034128a4a3f9ccbfd0d3bee761ec2493 574 utils optional lde_2.6.0-7.dsc
 ea831beed4a7b8bc3e80e7c870f0a84e 10837 utils optional lde_2.6.0-7.diff.gz
 9d39367e7d457601372f085d079a258b 416472 utils optional lde_2.6.0-7_i386.deb

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

iD8DBQFDRmuy0VL/2tBqhlQRAlI4AKCwXNyB5YBJc5lGPKjJSnqiwGfP6QCgtZXm
iZOUYWuzAOCEavvO4hze49M=
=wIar
-----END PGP SIGNATURE-----


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

Reply via email to