Your message dated Fri, 09 Sep 2005 05:17:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#294371: fixed in socks4-server 4.3.beta2-14
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 13:20:40 +0000
>From [EMAIL PROTECTED] Wed Feb 09 05:20:40 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 1Cyrlo-0008AO-00; Wed, 09 Feb 2005 05:20:40 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Cyrll-0003zO-63; Wed, 09 Feb 2005 14:20:37 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: socks4-server: FTBFS (amd64/gcc-4.0): invalid storage class for 
function 'token'
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 09 Feb 2005 14:20:37 +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: socks4-server
Severity: normal
Tags: patch

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

main.c:500: warning: incompatible implicit declaration of built-in function 
'strlen'
gcc -I../include -g -DLINUX    -DCOMPAT       -Dconnect=Rconnect 
-Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind 
-Dselect=Rselect -Dgethostbyname=Rgethostbyname    -c -o ruserpass.o ruserpass.c
In file included from ruserpass.c:44:
ftp_var.h: In function 'strerror':
ftp_var.h:154: warning: return discards qualifiers from pointer target type
ruserpass.c: At top level:
ruserpass.c:54: warning: conflicting types for built-in function 'malloc'
ruserpass.c: In function 'ruserpass':
ruserpass.c:90: error: invalid storage class for function 'token'
ruserpass.c:144: warning: incompatible implicit declaration of built-in 
function 'strlen'
ruserpass.c:160: warning: incompatible implicit declaration of built-in 
function 'strlen'
ruserpass.c:172: warning: incompatible implicit declaration of built-in 
function 'strlen'
ruserpass.c: At top level:
ruserpass.c:251: error: static declaration of 'token' follows non-static 
declaration
ruserpass.c:107: error: previous implicit declaration of 'token' was here
make[2]: *** [ruserpass.o] Error 1
make[2]: Leaving directory `/socks4-server-4.3.beta2/rftp'

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

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/socks4-server-4.3.beta2/rftp/ruserpass.c 
./rftp/ruserpass.c
--- ../tmp-orig/socks4-server-4.3.beta2/rftp/ruserpass.c        1994-07-05 
21:47:09.000000000 +0200
+++ ./rftp/ruserpass.c  2005-02-09 14:08:53.634946994 +0100
@@ -80,6 +80,8 @@
        0,              0
 };
 
+static int token();
+
 ruserpass(host, aname, apass, aacct)
        char *host, **aname, **apass, **aacct;
 {
@@ -87,7 +89,6 @@
        char myname[MAXHOSTNAMELEN], *mydomain;
        int t, i, c, usedefault = 0;
        struct stat stb;
-       static int token();
 
        hdir = getenv("HOME");
        if (hdir == NULL)
diff -urN ../tmp-orig/socks4-server-4.3.beta2/rfinger/finger.c 
./rfinger/finger.c
--- ../tmp-orig/socks4-server-4.3.beta2/rfinger/finger.c        2005-02-09 
14:09:03.738993944 +0100
+++ ./rfinger/finger.c  2005-02-09 11:50:49.000000000 +0100
@@ -14,7 +14,6 @@
 #include "socks.h"
 #include <getopt.h>
 
-extern int     errno;
 extern char    *strrchr();
 char           *Progname;
 extern char    *getenv();
diff -urN ../tmp-orig/socks4-server-4.3.beta2/rftp/cmds.c ./rftp/cmds.c
--- ../tmp-orig/socks4-server-4.3.beta2/rftp/cmds.c     1996-01-03 
03:35:51.000000000 +0100
+++ ./rftp/cmds.c       2005-02-09 11:50:49.000000000 +0100
@@ -80,7 +80,6 @@
 extern char *index();
 extern char *rindex();
 extern char *strerror();
-extern int  errno;
 extern off_t restart_point;
 extern char reply_string[];
 
diff -urN ../tmp-orig/socks4-server-4.3.beta2/rftp/ftp.c ./rftp/ftp.c
--- ../tmp-orig/socks4-server-4.3.beta2/rftp/ftp.c      2005-02-09 
14:09:03.739993751 +0100
+++ ./rftp/ftp.c        2005-02-09 11:50:49.000000000 +0100
@@ -95,7 +95,7 @@
 int    pasvmode = 0;
 
 extern char *strerror();
-extern int connected, errno;
+extern int connected;
 
 FILE   *cin, *cout;
 FILE   *dataconn();
diff -urN ../tmp-orig/socks4-server-4.3.beta2/rftp/ftp_var.h ./rftp/ftp_var.h
--- ../tmp-orig/socks4-server-4.3.beta2/rftp/ftp_var.h  2005-02-09 
14:09:03.739993751 +0100
+++ ./rftp/ftp_var.h    2005-02-09 11:50:49.000000000 +0100
@@ -33,6 +33,8 @@
  *     @(#)ftp_var.h   5.9 (Berkeley) 6/1/90
  */
 
+#include <errno.h>
+
 /*
  * FTP global variables.
  */
@@ -136,12 +138,6 @@
 extern char *index();
 extern char *rindex();
 extern char *remglob();
-extern int errno;
-extern char *mktemp();
-extern char *strncpy();
-extern char *strncat();
-extern char *strcat();
-extern char *strcpy();
 
 #if defined (COMPAT) || defined (ultrix) || defined(SCO)
 typedef void   (*sig_t)();
diff -urN ../tmp-orig/socks4-server-4.3.beta2/rftp/glob.c ./rftp/glob.c
--- ../tmp-orig/socks4-server-4.3.beta2/rftp/glob.c     2005-02-09 
14:09:03.740993557 +0100
+++ ./rftp/glob.c       2005-02-09 11:50:49.000000000 +0100
@@ -82,7 +82,6 @@
 char   **ftpglob();
 char   *globerr;
 char   *home;
-extern int errno;
 static char *strspl(), *strend();
 char   **copyblk();
 
diff -urN ../tmp-orig/socks4-server-4.3.beta2/rtelnet/telnet/externs.h 
./rtelnet/telnet/externs.h
--- ../tmp-orig/socks4-server-4.3.beta2/rtelnet/telnet/externs.h        
1996-06-11 19:47:52.000000000 +0200
+++ ./rtelnet/telnet/externs.h  2005-02-09 11:50:49.000000000 +0100
@@ -29,6 +29,7 @@
 
 #include <stdio.h>
 #include <setjmp.h>
+#include <errno.h>
 #ifndef        FILIO_H
 #include <sys/ioctl.h>
 #else
@@ -73,8 +74,6 @@
 
 #define        SUBBUFSIZE      256
 
-extern int errno;              /* outside this world */
-
 #if    !defined(P)
 # ifdef        __STDC__
 #  define      P(x)    x

---------------------------------------
Received: (at 294371-close) by bugs.debian.org; 9 Sep 2005 12:18:55 +0000
>From [EMAIL PROTECTED] Fri Sep 09 05:18:55 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EDhoY-0003DZ-00; Fri, 09 Sep 2005 05:17:06 -0700
From: Christoph Martin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#294371: fixed in socks4-server 4.3.beta2-14
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 09 Sep 2005 05:17:06 -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: socks4-server
Source-Version: 4.3.beta2-14

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

libsocks4_4.3.beta2-14_i386.deb
  to pool/main/s/socks4-server/libsocks4_4.3.beta2-14_i386.deb
socks4-clients_4.3.beta2-14_i386.deb
  to pool/main/s/socks4-server/socks4-clients_4.3.beta2-14_i386.deb
socks4-server_4.3.beta2-14.diff.gz
  to pool/main/s/socks4-server/socks4-server_4.3.beta2-14.diff.gz
socks4-server_4.3.beta2-14.dsc
  to pool/main/s/socks4-server/socks4-server_4.3.beta2-14.dsc
socks4-server_4.3.beta2-14_i386.deb
  to pool/main/s/socks4-server/socks4-server_4.3.beta2-14_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.
Christoph Martin <[EMAIL PROTECTED]> (supplier of updated socks4-server 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,  9 Sep 2005 11:24:04 +0200
Source: socks4-server
Binary: libsocks4 socks4-clients socks4-server
Architecture: source i386
Version: 4.3.beta2-14
Distribution: unstable
Urgency: low
Maintainer: Christoph Martin <[EMAIL PROTECTED]>
Changed-By: Christoph Martin <[EMAIL PROTECTED]>
Description: 
 libsocks4  - SOCKS libraries
 socks4-clients - Socks4 enabled clients as rtelnet, rftp, ...
 socks4-server - SOCKS4 server for proxying IP-based services over a firewall
Closes: 294371
Changes: 
 socks4-server (4.3.beta2-14) unstable; urgency=low
 .
   * make code compatible with gcc-4.0 (closes: #294371)
   * update download URL in copyright
   * change to DH_COMPAT=3
Files: 
 52de8f380c35b3a04f4a3f3bf88bb11b 965 net extra socks4-server_4.3.beta2-14.dsc
 e2754a231fa5f1f81a41fad83138c83d 17970 net extra 
socks4-server_4.3.beta2-14.diff.gz
 c96183b36a5ece23fc95caff66ba949f 60392 net extra 
socks4-server_4.3.beta2-14_i386.deb
 25f63e539e5a038200b9a64a592993c6 82822 net extra 
socks4-clients_4.3.beta2-14_i386.deb
 6fc311ea6b209a6766f5fda3163e8785 46194 libs optional 
libsocks4_4.3.beta2-14_i386.deb

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

iQEVAwUBQyF5yW4/9k35XC9tAQKWlggAj1baKg22IzLYC6RhMJAhZGgLHy1qqqAs
7PsxuJDRcXEaBoYobyvDWkVYOFo7PqoqVnAlXwonWMF9/ukUfmsANCAzR3hHjlxL
vr2xRQuD8Kl/9IbCyuzrLHdf1G9SBanq50OymDfl0a8seCSypzEWEWDfodS2S4V9
8gsECo62s4MZXVydMmVx/ixqkJX6GkrikxvoNANT731ep5Je8+3JJ1ltOamkEBz0
i8dY8Fn9hU6GtKZUux12tUkb3XtcqDmZblDtJDRATXvJg5HB62TlbT4h36Inu30F
Qo1qhawGXOGqd+14Jquz/bCraEMPcJ9XztL8Y4fc0AMeM13JewiScg==
=JjAB
-----END PGP SIGNATURE-----


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

Reply via email to