Your message dated Wed, 20 Jul 2005 11:47:03 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#258752: fixed in gopher 3.0.8
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; 11 Jul 2004 10:31:35 +0000
>From [EMAIL PROTECTED] Sun Jul 11 03:31:35 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c147245.adsl.hansenet.de (localhost) [213.39.147.245] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BjbcN-0000B5-00; Sun, 11 Jul 2004 03:31:35 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1BjbcK-0002jj-NP; Sun, 11 Jul 2004 12:31:32 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: gopher: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 11 Jul 2004 12:31:32 +0200
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: gopher
Severity: normal
Tags: patch

When building 'gopher' with gcc-3.4 I get the following error:

GSgopherobj.c:1014: warning: null argument where non-null required (arg 1)
GSgopherobj.c: In function `GSfromURL':
GSgopherobj.c:2006: error: label at end of compound statement
make[2]: *** [GSgopherobj.o] Error 1
make[2]: Leaving directory `/gopher-3.0.7/object'
make[1]: *** [object/libgopher.a] Error 2
make[1]: Leaving directory `/gopher-3.0.7'
make: *** [build-stamp] Error 2

With the attached patch 'gopher' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gopher-3.0.7/gopher/form.c ./gopher/form.c
--- ../tmp-orig/gopher-3.0.7/gopher/form.c      2003-08-18 18:58:14.000000000 
+0200
+++ ./gopher/form.c     2004-07-11 12:25:07.500311610 +0200
@@ -288,6 +288,7 @@
                case ITEM_UNINIT: /* Unhandled cases... */
                case ITEM_LABEL:
                case ITEM_FILENAME:
+                   break;
               }
          }
          responses[respnum++] = NULL;
diff -urN ../tmp-orig/gopher-3.0.7/object/BLblock.c ./object/BLblock.c
--- ../tmp-orig/gopher-3.0.7/object/BLblock.c   2003-08-18 18:58:55.000000000 
+0200
+++ ./object/BLblock.c  2004-07-11 12:14:02.089898003 +0200
@@ -118,6 +118,7 @@
          STAinit(bl->data.text);
          break;
      case BDATA_NONE:
+         break;
      }
 }
 
@@ -141,6 +142,7 @@
          GSdestroy(bl->data.gs);
          break;
      case BDATA_NONE:
+         break;
      }
 }
 
@@ -174,6 +176,7 @@
          BLsetText(dest, orig->data.text);
          break;
      case BDATA_NONE:
+         break;
      }
 }
 
@@ -209,6 +212,7 @@
      case BDATA_NONE:
      case BDATA_FILE:
      case BDATA_GREF:
+         break;
      }
      return(NULL);
 }
@@ -343,6 +347,7 @@
          fclose(infile);
          break;
      case BDATA_NONE:
+         break;
      }
 }
 
diff -urN ../tmp-orig/gopher-3.0.7/object/GSgopherobj.c ./object/GSgopherobj.c
--- ../tmp-orig/gopher-3.0.7/object/GSgopherobj.c       2003-08-18 
18:58:58.000000000 +0200
+++ ./object/GSgopherobj.c      2004-07-11 12:11:39.080542963 +0200
@@ -2003,6 +2003,7 @@
      case news:
      case unset:
      case unknown:
+         break;
      }
 
      if (serviceType == ftp) {
diff -urN ../tmp-orig/gopher-3.0.7/object/url.c ./object/url.c
--- ../tmp-orig/gopher-3.0.7/object/url.c       2003-08-18 18:58:57.000000000 
+0200
+++ ./object/url.c      2004-07-11 12:14:27.750937052 +0200
@@ -362,6 +362,7 @@
           case ftp:
           case unset:
           case unknown:
+              break;
          }
          URLsetHost(url, cp);
      }

---------------------------------------
Received: (at 258752-close) by bugs.debian.org; 20 Jul 2005 15:54:37 +0000
>From [EMAIL PROTECTED] Wed Jul 20 08:54:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DvGu5-0003Lt-00; Wed, 20 Jul 2005 08:54:37 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DvGml-0006Dw-00; Wed, 20 Jul 2005 11:47:03 -0400
From: John Goerzen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#258752: fixed in gopher 3.0.8
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 20 Jul 2005 11:47:03 -0400
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: 4

Source: gopher
Source-Version: 3.0.8

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

gopher_3.0.8.dsc
  to pool/main/g/gopher/gopher_3.0.8.dsc
gopher_3.0.8.tar.gz
  to pool/main/g/gopher/gopher_3.0.8.tar.gz
gopher_3.0.8_i386.deb
  to pool/main/g/gopher/gopher_3.0.8_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.
John Goerzen <[EMAIL PROTECTED]> (supplier of updated gopher 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: Wed, 20 Jul 2005 05:41:40 -0500
Source: gopher
Binary: gopher
Architecture: source i386
Version: 3.0.8
Distribution: unstable
Urgency: low
Maintainer: John Goerzen <[EMAIL PROTECTED]>
Changed-By: John Goerzen <[EMAIL PROTECTED]>
Description: 
 gopher     - Distributed Hypertext Client, Gopher protocol
Closes: 128990 142913 226552 258752 262423
Changes: 
 gopher (3.0.8) unstable; urgency=low
 .
   * Fix compile error with gcc 3.4.  Closes: #258752.
   * Fixed warnings relating to prototypes.  In download.c,
     prefer getcwd() to get_current_dir_name().  Closes: #226552.
   * No longer crash on problems piping to external programs.
     Thanks, Goeran Weinholt, for the patch.  Closes: #128990.
   * Install makes dirs for manpages if they don't already exist.
     Combined with other fixes in this version and prior versions,
     all bugs in 142913 are resolved.  Closes: #142913.
   * [debian] Removed build-deps on build-essential packages.
     Closes: #262423.
   * [debian] Updated standards-version and to new debhelper.
   * Fixed a small memory leak in download.c.
   * Fix potential insecure /tmp usage in gopher.c.
   * Use socklen_t instead of int for socket length operations,
     avoiding warnings about incorrect signedness.
   * Updated copyright files.
Files: 
 d121b9eb8b696c6ebc889a87f92546e2 518 net optional gopher_3.0.8.dsc
 f35eaa1ae265e3f2f40d8545f9e14f25 317862 net optional gopher_3.0.8.tar.gz
 fb12a8ffcc4b54854e0bef96e9d7566c 120938 net optional gopher_3.0.8_i386.deb

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

iD8DBQFC3m7M7B2mSKdID5ERAkhfAKCj9+wbOVwOyfvZdwDIFme/7gOdoQCcCOIE
6WQOZ9lM9BnpnTD1eIdWhwo=
=Fn69
-----END PGP SIGNATURE-----


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

Reply via email to