[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#287924: marked as done (ppxp: FTBFS (amd64/gcc-4.0): invalid storage class for function 'SigQuit')



Your message dated Fri, 02 Sep 2005 16:03:47 -0700
with message-id <87irxjul64.fsf@becket.becket.net>
and subject line Officially fixed
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; 30 Dec 2004 22:32:04 +0000
>From aj@andaco.de Thu Dec 30 14:32:04 2004
Return-path: <aj@andaco.de>
Received: from d020125.adsl.hansenet.de (localhost.localdomain) [80.171.20.125] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ck8pw-0002gY-00; Thu, 30 Dec 2004 14:32:04 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1Ck8vE-00020c-Tf; Thu, 30 Dec 2004 23:37:32 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: ppxp: FTBFS (amd64/gcc-4.0): invalid storage class for function 'SigQuit'
Message-Id: <E1Ck8vE-00020c-Tf@localhost.localdomain>
Date: Thu, 30 Dec 2004 23:37:32 +0100
Delivered-To: submit@bugs.debian.org
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: ppxp
Severity: normal
Tags: patch

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

gcc -O2 -g -W  -I../../lib -I.. -I../../import -I../../OS/Linux   -c -o dns.o dns.c
dns.c: In function 'DoRelay':
dns.c:105: warning: passing argument 6 of 'recvfrom' from incompatible pointer type
dns.c:131: warning: passing argument 6 of 'recvfrom' from incompatible pointer type
dns.c: In function 'DnsRelay':
dns.c:164: error: invalid storage class for function 'SigQuit'
make[3]: *** [dns.o] Error 1
make[3]: Leaving directory `/ppxp-0.2001080415/src/ip'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/ppxp-0.2001080415/src/ip/dns.c ./src/ip/dns.c
--- ../tmp-orig/ppxp-0.2001080415/src/ip/dns.c	2000-12-04 13:23:33.000000000 +0100
+++ ./src/ip/dns.c	2004-12-30 23:11:01.047890464 +0100
@@ -161,7 +161,7 @@
     }
     if (!dns) return;
     if ((relayPid = fork()) == 0) {
-	static void SigQuit(int sig) {
+	void SigQuit(int sig) {
 	    exit(0);
 	}
 
diff -urN ../tmp-orig/ppxp-0.2001080415/src/main.c ./src/main.c
--- ../tmp-orig/ppxp-0.2001080415/src/main.c	2004-12-30 23:12:14.288756160 +0100
+++ ./src/main.c	2004-12-30 23:11:16.157593440 +0100
@@ -244,7 +244,7 @@
     parent = getpid();
     if ((child = fork()) == -1) return;
     if (child) {
-	static void QuitParent(int sig) {
+	void QuitParent(int sig) {
 	    exit(0);
 	}
 	signal(SIGTERM, QuitParent);

---------------------------------------
Received: (at 287924-done) by bugs.debian.org; 2 Sep 2005 23:03:47 +0000
>From tb@becket.net Fri Sep 02 16:03:47 2005
Return-path: <tb@becket.net>
Received: from vp085189.reshsg.uci.edu (becket.becket.net) [128.195.85.189] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EBKZX-0003WC-00; Fri, 02 Sep 2005 16:03:47 -0700
Received: from tb by becket.becket.net with local (Exim 4.52)
	id 1EBKZX-0005Y8-IJ
	for 287924-done@bugs.debian.org; Fri, 02 Sep 2005 16:03:47 -0700
From: Thomas Bushnell BSG <tb@becket.net>
To: 287924-done@bugs.debian.org
Subject: Officially fixed
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
X-Reply-Permission: Posted or emailed replies to this message constitute
		 permission for an emailed response.
X-PGP-Fingerprint: 1F0A1E51  63 28 EB DA E6 44 E5 5E  EC F3 04 26 4E BF 1A 92
X-Tom-Swiftie: "Who drank the last beer?" Tom asked, hopping mad
Date: Fri, 02 Sep 2005 16:03:47 -0700
Message-ID: <87irxjul64.fsf@becket.becket.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 287924-done@bugs.debian.org
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


Version: 0.2001080415-12

This NMU-fixed bug became closed when QA took over the package.



Reply to: