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 C2C0E7A175 for ; Wed, 31 May 2017 23:21:07 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 665CA84DE1; Wed, 31 May 2017 23:21:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EAB4684D75 for ; Wed, 31 May 2017 23:21:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id szbYWdui1SdU for ; Wed, 31 May 2017 23:21:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8BD3A84CEE for ; Wed, 31 May 2017 23:21:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8126BFBEE; Wed, 31 May 2017 23:21:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1496272866228370" MIME-Version: 1.0 Date: Wed, 31 May 2017 23:21:06 +0000 From: "Alistair G. Crooks" Subject: CVS commit: pkgsrc/security/merkletree/files To: pkgsrc-changes@NetBSD.org Reply-To: agc@netbsd.org X-Mailer: log_accum Message-Id: <20170531232106.8126BFBEE@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. --_----------=_1496272866228370 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: agc Date: Wed May 31 23:21:06 UTC 2017 Modified Files: pkgsrc/security/merkletree/files: libmerkle.c Log Message: make sure __UNCONST is defined before using it To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/security/merkletree/files/libmerkle.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1496272866228370 Content-Disposition: inline Content-Length: 604 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/merkletree/files/libmerkle.c diff -u pkgsrc/security/merkletree/files/libmerkle.c:1.1.1.1 pkgsrc/security/merkletree/files/libmerkle.c:1.2 --- pkgsrc/security/merkletree/files/libmerkle.c:1.1.1.1 Wed Mar 5 05:19:25 2014 +++ pkgsrc/security/merkletree/files/libmerkle.c Wed May 31 23:21:06 2017 @@ -38,6 +38,10 @@ #define MERKLETREE_MAX_ROWS 16 +#ifndef __UNCONST +#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) +#endif + /* a row of digests in a merkle tree */ typedef struct merkletree_row_t { uint64_t outc; /* # of output bytes */ --_----------=_1496272866228370--