Your message dated Sun, 31 Jul 2005 17:17:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#285626: fixed in dircproxy 1.0.5-4
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; 14 Dec 2004 14:39:46 +0000
>From [EMAIL PROTECTED] Tue Dec 14 06:39:46 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158150.adsl.hansenet.de (localhost.localdomain) 
[213.39.158.150] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CeDq5-0003Bo-00; Tue, 14 Dec 2004 06:39:46 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CeDuS-0005Y7-F8; Tue, 14 Dec 2004 15:44:16 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: dircproxy: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 14 Dec 2004 15:44:16 +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: dircproxy
Severity: normal
Tags: patch

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

irc_server.c:703: error: invalid lvalue in assignment
irc_server.c:744: error: invalid lvalue in assignment
irc_server.c:1089: warning: pointer targets in passing argument 3 of 
'getsockname' differ in signedness
make[3]: *** [irc_server.o] Error 1
make[3]: Leaving directory `/dircproxy-1.0.5/src'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/dircproxy-1.0.5/src/dcc_net.c ./src/dcc_net.c
--- ../tmp-orig/dircproxy-1.0.5/src/dcc_net.c   2001-12-21 21:15:55.000000000 
+0100
+++ ./src/dcc_net.c     2004-12-14 15:40:45.976549384 +0100
@@ -364,7 +364,8 @@
       n = p->next;
       _dccnet_free(p);
 
-      p = (l ? l->next : proxies) = n;
+      if (l) l->next = n; else proxies = n;
+      p = n;
     } else {
       l = p;
       p = p->next;
diff -urN ../tmp-orig/dircproxy-1.0.5/src/irc_server.c ./src/irc_server.c
--- ../tmp-orig/dircproxy-1.0.5/src/irc_server.c        2002-01-31 
15:56:37.000000000 +0100
+++ ./src/irc_server.c  2004-12-14 15:39:49.163186328 +0100
@@ -700,7 +700,8 @@
               free(s);
 
               /* Was in the squelch list, so remove it and stop looking */
-              s = (l ? l->next : p->squelch_modes) = n;
+              if (l) l->next = n; else p->squelch_modes = n;
+              s = n;
               squelch = 1;
               break;
             } else {
@@ -741,7 +742,8 @@
               free(s);
 
               /* Was in the squelch list, so remove it and stop looking */
-              s = (l ? l->next : p->squelch_modes) = n;
+              if (l) l->next = n; else p->squelch_modes = n;
+              s = n;
               squelch = 1;
               break;
             } else {
diff -urN ../tmp-orig/dircproxy-1.0.5/src/net.c ./src/net.c
--- ../tmp-orig/dircproxy-1.0.5/src/net.c       2002-01-01 18:55:23.000000000 
+0100
+++ ./src/net.c 2004-12-14 15:41:43.499804520 +0100
@@ -459,7 +459,7 @@
     return 0;
   }
   
-  l = &(buff == SB_IN ? s->in_buff_last : s->out_buff_last);
+  l = (buff == SB_IN) ? &s->in_buff_last : &s->out_buff_last;
 
   /* Check whether we can just add to the existing buffer */
   if ((mode == SM_RAW) && *l && ((*l)->mode == mode)) {

---------------------------------------
Received: (at 285626-close) by bugs.debian.org; 1 Aug 2005 00:29:51 +0000
>From [EMAIL PROTECTED] Sun Jul 31 17:29:51 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1DzNzQ-000130-00; Sun, 31 Jul 2005 17:17:08 -0700
From: Alex Pennace <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#285626: fixed in dircproxy 1.0.5-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 31 Jul 2005 17:17:08 -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: dircproxy
Source-Version: 1.0.5-4

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

dircproxy_1.0.5-4.diff.gz
  to pool/main/d/dircproxy/dircproxy_1.0.5-4.diff.gz
dircproxy_1.0.5-4.dsc
  to pool/main/d/dircproxy/dircproxy_1.0.5-4.dsc
dircproxy_1.0.5-4_i386.deb
  to pool/main/d/dircproxy/dircproxy_1.0.5-4_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.
Alex Pennace <[EMAIL PROTECTED]> (supplier of updated dircproxy 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 19:42:06 -0400
Source: dircproxy
Binary: dircproxy
Architecture: source i386
Version: 1.0.5-4
Distribution: unstable
Urgency: low
Maintainer: Alex Pennace <[EMAIL PROTECTED]>
Changed-By: Alex Pennace <[EMAIL PROTECTED]>
Description: 
 dircproxy  - IRC proxy for people who use IRC from different workstations
Closes: 285626 320368
Changes: 
 dircproxy (1.0.5-4) unstable; urgency=low
 .
   * Thanks, Roger Leigh.
   * Recent config.guess and config.sub to support Debian
     GNU/k*BSD. Thanks, Aurelien Jarno (closes: #320368).
 .
 dircproxy (1.0.5-3.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Apply patch from Andreas Jochens to fix build failure with GCC
     4.0 due to invalid lvalues (Closes: #285626).
   * debian/control: Use a versioned build-dependency on debhelper.
   * debian/rules: Use debhelper version 4 compatibility mode.
Files: 
 e0c4274792ad60ff539a491e3a98dce7 568 net optional dircproxy_1.0.5-4.dsc
 c14f6a4a5a249f0de64b69b1e39c390f 14186 net optional dircproxy_1.0.5-4.diff.gz
 69a9bfadffacd8c0d7e88378f2df1d9a 118738 net optional dircproxy_1.0.5-4_i386.deb

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

iD8DBQFC7WTU+coB1eJqbygRAiQHAJ9Ouo7j56PYzbTNRJ4N5uLE1IY55QCfWl9x
jRWEgtWBkl7vXwdMi/JrZcE=
=r+B2
-----END PGP SIGNATURE-----


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

Reply via email to