From owner-freebsd-ports Thu Feb 3 7:55: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21]) by builder.freebsd.org (Postfix) with ESMTP id 4817C3D81; Thu, 3 Feb 2000 07:55:02 -0800 (PST) Received: from cichlids.com (pC19F5498.dip0.t-ipconnect.de [193.159.84.152]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id QAA31805; Thu, 3 Feb 2000 16:55:26 +0100 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id A19CCAB98; Thu, 3 Feb 2000 16:55:21 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id QAA74420; Thu, 3 Feb 2000 16:55:49 +0100 (CET) (envelope-from alex) Date: Thu, 3 Feb 2000 16:55:49 +0100 From: Alexander Langer To: stb@freebsd.org Cc: ports@freebsd.org Subject: patch to fix your macipgw - port under -current Message-ID: <20000203165549.A74410@cichlids.cichlids.com> Mail-Followup-To: stb@freebsd.org, ports@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp" X-Mailer: Mutt 1.0i X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Hello! This fixes your macipgw port under current. Alex -- I doubt, therefore I might be. --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-aa --- main.c.old Thu Feb 3 15:39:27 2000 +++ main.c Thu Feb 3 16:52:18 2000 @@ -160,8 +160,8 @@ exit (EX_USAGE); } -void main(int argc, char *argv[]) { +int main(int argc, char *argv[]) { struct sigaction sv; u_long net=0, mask=0, ns=0; char *zone = "*"; @@ -209,7 +208,7 @@ openlog ("macipgw", LOG_PID | gDebug ? LOG_PERROR : 0, LOG_DAEMON); sv.sa_handler = die; - sv.sa_mask = 0; + sigemptyset(&(sv.sa_mask)); sv.sa_flags = 0; if (sigaction( SIGTERM, &sv, 0 ) < 0 ) { syslog( LOG_ERR, "sigaction: %m" ); @@ -243,5 +242,6 @@ server(); die (0); + return(0); } --LQksG6bCIzRHxTLp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message