From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8579158089 for ; Sun, 3 Sep 2023 09:01:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2182F2BC014; Sun, 3 Sep 2023 09:01:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09A662BC014 for ; Sun, 3 Sep 2023 09:01:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12533335CD7 for ; Sun, 3 Sep 2023 09:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A4A0F0C for ; Sun, 3 Sep 2023 09:01:20 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1693731548.a378ca38ccc92d0eead8e03f38b013b92cfa7257.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/coldfire/, app-emulation/coldfire/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/coldfire/coldfire-0.3.1-r1.ebuild app-emulation/coldfire/files/coldfire-0.3.1-implicit-function-declarations.patch X-VCS-Directories: app-emulation/coldfire/files/ app-emulation/coldfire/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: a378ca38ccc92d0eead8e03f38b013b92cfa7257 X-VCS-Branch: master Date: Sun, 3 Sep 2023 09:01:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9825f538-1066-4a48-ab74-cc06a44b237d X-Archives-Hash: 19a22477e6472a05b4c9d1df3c7b2022 commit: a378ca38ccc92d0eead8e03f38b013b92cfa7257 Author: Viorel Munteanu gentoo org> AuthorDate: Sun Sep 3 08:59:08 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sun Sep 3 08:59:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a378ca38 app-emulation/coldfire: fix implicit function declarations in config.log Fix autotools macros with clang 16. Update EAPI 7 -> 8. Signed-off-by: Viorel Munteanu gentoo.org> app-emulation/coldfire/coldfire-0.3.1-r1.ebuild | 39 ++++++++++++++++++++++ ...fire-0.3.1-implicit-function-declarations.patch | 12 +++++++ 2 files changed, 51 insertions(+) diff --git a/app-emulation/coldfire/coldfire-0.3.1-r1.ebuild b/app-emulation/coldfire/coldfire-0.3.1-r1.ebuild new file mode 100644 index 000000000000..768ca068bcb2 --- /dev/null +++ b/app-emulation/coldfire/coldfire-0.3.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Motorola Coldfire Emulator" +HOMEPAGE="http://www.slicer.ca/coldfire/" +SRC_URI="http://www.slicer.ca/coldfire/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0= +" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-headers.patch + "${FILESDIR}"/${P}-ld.patch + "${FILESDIR}"/${P}-no-common.patch + "${FILESDIR}"/${P}-implicit-function-declarations.patch +) + +src_prepare() { + default + eautoreconf + + tc-export LD +} + +src_install() { + dobin coldfire + dodoc CONTRIBUTORS HACKING README +} diff --git a/app-emulation/coldfire/files/coldfire-0.3.1-implicit-function-declarations.patch b/app-emulation/coldfire/files/coldfire-0.3.1-implicit-function-declarations.patch new file mode 100644 index 000000000000..2a96229e101f --- /dev/null +++ b/app-emulation/coldfire/files/coldfire-0.3.1-implicit-function-declarations.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/900326 + +--- a/configure.ac ++++ b/configure.ac +@@ -87,6 +87,7 @@ AC_CHECK_FUNCS(_snprintf snprintf) + + AC_MSG_CHECKING(for unaligned long accesses) + AC_TRY_RUN([ ++ #include + void main(void) + { unsigned char data[sizeof(long)*2]; + long *ptr;