Skip site navigation (1)Skip section navigation (2)
Date:      24 Jun 2001 04:50:52 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Mike Barcroft <mike@q9media.com>
Cc:        audit@FreeBSD.ORG
Subject:   Re: src/usr.bin warns patch
Message-ID:  <xzpd77ua8vn.fsf@flood.ping.uio.no>
In-Reply-To: <200106231831.f5NIVUk89438@coffee.q9media.com>
References:  <200106231831.f5NIVUk89438@coffee.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Barcroft <mike@q9media.com> writes:
> I would appreciate it if someone would commit the patch at the end of
> this message.

Not so fast.  Please patch your /usr/share/mk/bsd.sys.mk to add
-fno-builtin to CFLAGS when WARNS is greater than zero; some of the
programs your patch marks as WARNS-safe (basename(1), for one) will
then break due to calling exit(1) without including <stdlib.h>.

Same goes for your usr.sbin warns patch.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd77ua8vn.fsf>