Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 4692C7A172 for ; Wed, 31 May 2017 22:14:45 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id AB04484DE1; Wed, 31 May 2017 22:14:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3C33E84DE0 for ; Wed, 31 May 2017 22:14:44 +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 Tn0kcduAyodT for ; Wed, 31 May 2017 22:14:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B8AE784CDE for ; Wed, 31 May 2017 22:14:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B3406FBEE; Wed, 31 May 2017 22:14:43 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1496268883196130" MIME-Version: 1.0 Date: Wed, 31 May 2017 22:14:43 +0000 From: "Alistair G. Crooks" Subject: CVS commit: pkgsrc/devel/elftoolchain To: pkgsrc-changes@NetBSD.org Reply-To: agc@netbsd.org X-Mailer: log_accum Message-Id: <20170531221443.B3406FBEE@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. --_----------=_1496268883196130 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: agc Date: Wed May 31 22:14:43 UTC 2017 Modified Files: pkgsrc/devel/elftoolchain: Makefile distinfo Added Files: pkgsrc/devel/elftoolchain/patches: patch-libelftc___libelftc.h Log Message: 1. add lex as a tool, problem shown up by ubuntu LTS bulk build 2. Add a patch to cast a floating point number before using it to resize buffers, unbreaks the build on NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/elftoolchain/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/elftoolchain/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1496268883196130 Content-Disposition: inline Content-Length: 2321 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/elftoolchain/Makefile diff -u pkgsrc/devel/elftoolchain/Makefile:1.12 pkgsrc/devel/elftoolchain/Makefile:1.13 --- pkgsrc/devel/elftoolchain/Makefile:1.12 Sat May 14 08:29:37 2016 +++ pkgsrc/devel/elftoolchain/Makefile Wed May 31 22:14:43 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2016/05/14 08:29:37 bsiegert Exp $ +# $NetBSD: Makefile,v 1.13 2017/05/31 22:14:43 agc Exp $ DISTNAME= elftoolchain-0.5.1 PKGREVISION= 1 @@ -18,7 +18,7 @@ NOT_FOR_PLATFORM= Darwin-*-* MAKE_JOBS_SAFE= no USE_BSD_MAKEFILE= yes -USE_TOOLS+= m4 +USE_TOOLS+= m4 lex MAKE_ENV+= ${BSD_MAKE_ENV} MAKE_FLAGS+= MKPROFILE=yes Index: pkgsrc/devel/elftoolchain/distinfo diff -u pkgsrc/devel/elftoolchain/distinfo:1.5 pkgsrc/devel/elftoolchain/distinfo:1.6 --- pkgsrc/devel/elftoolchain/distinfo:1.5 Tue Nov 3 03:27:24 2015 +++ pkgsrc/devel/elftoolchain/distinfo Wed May 31 22:14:43 2017 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2015/11/03 03:27:24 agc Exp $ +$NetBSD: distinfo,v 1.6 2017/05/31 22:14:43 agc Exp $ SHA1 (elftoolchain-0.5.1.tar.bz2) = 333cfce857ca220177d0a5d111d40afca1eea0c7 RMD160 (elftoolchain-0.5.1.tar.bz2) = 4be0adf8349c764474810e23cfb022c655002d77 @@ -24,3 +24,4 @@ SHA1 (patch-ar_util.c) = 7a70d796516f0b0 SHA1 (patch-libdwarf_Makefile) = bea37cf65de237146dc51a71aed04581bc6c1d95 SHA1 (patch-libelf_Makefile) = 29fdcead0e1d01ba2cf1d9e16e9d50bc041c9eec SHA1 (patch-libelftc_Makefile) = a91f55e598482123a04dd5e50e5d992a8d866036 +SHA1 (patch-libelftc___libelftc.h) = d2ee73ee21d56a241aec04c43073e3e0dd164d6d Added files: Index: pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h diff -u /dev/null pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h:1.1 --- /dev/null Wed May 31 22:14:43 2017 +++ pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h Wed May 31 22:14:43 2017 @@ -0,0 +1,15 @@ +$NetBSD: patch-libelftc___libelftc.h,v 1.1 2017/05/31 22:14:43 agc Exp $ + +avoid error - cast float value to size_t before using it + +--- libelftc/_libelftc.h 2017/05/31 22:09:00 1.1 ++++ libelftc/_libelftc.h 2017/05/31 22:09:18 +@@ -55,7 +55,7 @@ + char **container; + }; + +-#define BUFFER_GROWFACTOR 1.618 ++#define BUFFER_GROWFACTOR (size_t)1.618 + #define VECTOR_DEF_CAPACITY 8 + #define ELFTC_ISDIGIT(C) (isdigit((C) & 0xFF)) + --_----------=_1496268883196130--