Subject: pkg/7683: compilation of net/icb gives a few warnings
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: netbsd-bugs
Date: 06/01/1999 02:37:11
>Number: 7683
>Category: pkg
>Synopsis: compilation of net/icb gives a few warnings
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 1 02:35:00 1999
>Last-Modified:
>Originator: Jaromir Dolecek
>Organization:
ICS MU, Brno, Czech Republic
>Release: NetBSD-1.4
>Environment:
System: NetBSD jdolecek.per4mance.cz 1.4_ALPHA NetBSD 1.4_ALPHA (JDOLECEK) #2: Thu Apr 15 22:21:30 GMT 1999 root@:/mnt/home/dolecek/tmp/src/sys/arch/i386/compile/JDOLECEK i386
>Description:
There are a few warnings about bad arguments to signal(), wait()
and getpeername() while compiling icb sources. Furthermore,
code uses mktemp(), which is unsafe.
>How-To-Repeat:
cd /usr/pkgsrc/net/icb
make
>Fix:
signal(): symbol VOID_SIGNALHANDLER is not defined in files/config
wait(): (union wait *) is used instead of (int *) as per POSIX
getpeername(), gethostbyaddr(): missed a cast (which is done
only for linux currently)
use mkstemp() instead of mktemp() for BSD4_4 based systems
The patches are at
http://www.ics.muni.cz/~dolecek/NetBSD/icb_patches.tar.gz
Note that two of them (patch-aa & patch-ah) replace/enhance existing
patches.
>Audit-Trail:
>Unformatted: