Received: by mail.netbsd.org (Postfix, from userid 605) id 4CB9D84D1B; Sun, 30 May 2021 10:39:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 773DE84D73 for ; Sun, 30 May 2021 10:39:42 +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 9Z66Vg8ir-0N for ; Sun, 30 May 2021 10:39:42 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0AB3D84CDF for ; Sun, 30 May 2021 10:39:42 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id F0077FA95; Sun, 30 May 2021 10:39:41 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 30 May 2021 10:39:41 +0000 From: "Chris Pinnock" Subject: CVS commit: src/tools/compat To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210530103941.F0077FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Chris Pinnock" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: cjep Date: Sun May 30 10:39:41 UTC 2021 Modified Files: src/tools/compat: compat_defs.h Log Message: PR port-amiga/56188 Include a prototype for __nbcompat_heapsort. The tools for amiga now build on Darwin where one Amiga specific tool uses heapsort. Despite being a one-liner, ./build.sh -m amiga tools was tested on NetBSD, Darwin, FreeBSD & Linux with the change. Discussed various options with jdc & thorpej. Perhaps in the future we could look at using qsort instead of heapsort as qsort is standardised and more likely to be available. We could then remove heapsort from the compatibility library. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/tools/compat/compat_defs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.