Received: by mail.netbsd.org (Postfix, from userid 605) id 728A984D91; Thu, 28 Mar 2019 02:12:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EE74E84D8B for ; Thu, 28 Mar 2019 02:12:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id l2GvVsMgitzJ for ; Thu, 28 Mar 2019 02:12:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4FE8F84C2B for ; Thu, 28 Mar 2019 02:12:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4A448FB16; Thu, 28 Mar 2019 02:12:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_155373916560290" MIME-Version: 1.0 Date: Thu, 28 Mar 2019 02:12:45 +0000 From: "matthew green" Subject: CVS commit: pkgsrc/devel/electric-fence To: pkgsrc-changes@NetBSD.org Reply-To: mrg@netbsd.org X-Mailer: log_accum Message-Id: <20190328021245.4A448FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_155373916560290 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mrg Date: Thu Mar 28 02:12:45 UTC 2019 Modified Files: pkgsrc/devel/electric-fence: Makefile Log Message: turn off builtins for: calloc, malloc, memalign, realloc, valloc, and free. bump pkg revision. this makes efence work with modern compilers. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/electric-fence/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_155373916560290 Content-Disposition: inline Content-Length: 966 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/electric-fence/Makefile diff -u pkgsrc/devel/electric-fence/Makefile:1.6 pkgsrc/devel/electric-fence/Makefile:1.7 --- pkgsrc/devel/electric-fence/Makefile:1.6 Tue Aug 1 17:40:10 2017 +++ pkgsrc/devel/electric-fence/Makefile Thu Mar 28 02:12:45 2019 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2017/08/01 17:40:10 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2019/03/28 02:12:45 mrg Exp $ DISTNAME= electric-fence_2.1.13-0.1 PKGNAME= electric-fence-2.1.13.0.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= http://perens.com/works/software/ElectricFence/ @@ -29,5 +29,14 @@ CFLAGS+= -g -DPAGE_PROTECTION_VIOLATED_ CFLAGS+= -g .endif +.if ${OPSYS} == "NetBSD" +CFLAGS+= -fno-builtin-calloc \ + -fno-builtin-malloc \ + -fno-builtin-memalign \ + -fno-builtin-realloc \ + -fno-builtin-valloc \ + -fno-builtin-free +.endif + .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" --_----------=_155373916560290--