summaryrefslogtreecommitdiff
path: root/app-emulation/coldfire
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-03 16:19:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-03 16:19:06 +0100
commit3349e2e53a8147dbd85c06f560e5923cf3c0fd3d (patch)
tree01c7f6e99509947a977d41ef472e2bf128853e3f /app-emulation/coldfire
parent015fdd57022ab7a54e47dafe3e81ffc76e502a90 (diff)
gentoo auto-resync : 03:09:2023 - 16:19:05
Diffstat (limited to 'app-emulation/coldfire')
-rw-r--r--app-emulation/coldfire/Manifest2
-rw-r--r--app-emulation/coldfire/coldfire-0.3.1-r1.ebuild39
-rw-r--r--app-emulation/coldfire/files/coldfire-0.3.1-implicit-function-declarations.patch12
3 files changed, 53 insertions, 0 deletions
diff --git a/app-emulation/coldfire/Manifest b/app-emulation/coldfire/Manifest
index 479738f21b73..386b439d21ef 100644
--- a/app-emulation/coldfire/Manifest
+++ b/app-emulation/coldfire/Manifest
@@ -1,7 +1,9 @@
AUX coldfire-0.3.1-build.patch 693 BLAKE2B 0b9ff6d289ea6e67403b895d7f85986601777473b75742bd44898739117be6697ea5785d25a1102f3994dfcaa003f1041f511df45f11050d5cb0c67bb9589cc8 SHA512 1999aa892c62f2ae98062bcd7711f0d120e7ba3fe7b812b236c82f9ecbe48654cc3782e5384a2d57c0e3d503e0df638f2d9efbbd8345becd36959ba1c54d456d
AUX coldfire-0.3.1-headers.patch 386 BLAKE2B 8b4dd43d49064e9abb9c22685aaac946cf703988303337f206b8975c27d840d0f97b06c68cd11b877da77ed5cfbc9a1e0a1776d39c1db54fa8e501c6b7ffe11e SHA512 5a9c4aa70891421cdff2ef16a49c67483c95e95a88af2a26412e1a6d5161a2cef328a81f891560ede52126eb3b01a3285553e0673fe9e44ae659a35cad701a1d
+AUX coldfire-0.3.1-implicit-function-declarations.patch 280 BLAKE2B 58f6d866833466a29315dc900de1f610267a6a1eb438986ac2202cfe7704ffc099cb05507e627d200d6c1cd75ae25c4ded61a1cb7fd5b85e74a61dd3f0a19922 SHA512 18e0720e6354c55a448c43ba1dfe11f76b83cd867923dbcc8862d8bf7617d746130e13183896ac0a3f72131106143d27a9f66891686f92425159489e82c24d87
AUX coldfire-0.3.1-ld.patch 207 BLAKE2B aa11471d386356030b2463e7546907a106af40bfaa5a046bc6f6e21b8e0a4ad1d15e029ac3d4676c88480dcf5fd0adc44840bda0a2fc61ce69e9e453039867f8 SHA512 8a405dff2b14e8ab9cf17af1f6a7308e85e96d2ecb93cbc31ebfb82ab74e8175062f1d8d7ef6d11c0fe7fcd81cff8b069f866d7ed968f436256830c5d5e45bca
AUX coldfire-0.3.1-no-common.patch 1011 BLAKE2B 44d766a9631dfd8168c012e01273d260a3c37bda817a953272e0988bb7f58dfc94da36b2ab959c2cba00be8f72b227e85b8e82e763d99e82822b3cdec2b9d6aa SHA512 14de4fb101ab7bf770f64837165e754701ad8e69ec0f403b1318df91ae1f71845ae9c09dfc0cec5f7633764e2229c7b05c758f8e89f24cbb36e1dddc4c1b7969
DIST coldfire-0.3.1.tar.gz 142964 BLAKE2B b2ec1d9a46b09426caada3cf2216e1aad6eadfc2756c7ea47236f6cebb51b2d09faf6d1e30af240656bc4ec876f425b049e6971e5ab532ceae66b4d80ab41585 SHA512 e9ac6fcd4a9a8cf0998a658c786f91f6d97dbe03cd32fdc7047c87baa14d412a45dfdd233f68e3136e8d0f36c4d6dd556e5df6e8a0645f82d4abf88fa574ff7b
+EBUILD coldfire-0.3.1-r1.ebuild 725 BLAKE2B ae3fc5b8fb0dae0d8298028507227aca9325e5c75de454347d7d5164ab8cf3d46502efeaac41b71613421b773344051b953aea4f1ced90e39d80f756b5865c35 SHA512 5041aee50f325f8639de3a2d6beec7bf9037a7fafbc03f5d3a3c62281980157de35147e60c8be801bfc67be2da317e18139a1bcd90219ed66c26ae148f4c018c
EBUILD coldfire-0.3.1.ebuild 650 BLAKE2B 79e979aa0803b568baa2e7fa8cc5297f0ee87f6ca5fa92e3a521122eec68e750e15f61a7da7f58230fae728f816b5a2a63fcd653d9c15f1f1bcb176981571bc8 SHA512 95931036a7855b62de1b12b03fcb913a13ac1c3890db387c0712c99f0272eea8a221a9209b838f1330bae0feb2fb6f389135bd717cf9ac9962c123a25f0c5244
MISC metadata.xml 248 BLAKE2B 9858a97a2186d5b06e272fe28021e0e668897630d8b99023000e8e58e852e80e16b399d8f864b9dff6c9fda25e1519ac8b4331792a4b441be23922707c4ad6a9 SHA512 a1e8f757e473af3ab0ccf695f849dc91e1be877dd505d339bdd26e35a2cf7fb5ffd8f5bf34e933873a462023aecb0edbddefbbda455289279182059cd6c1b0e5
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 <stdlib.h>
+ void main(void)
+ { unsigned char data[sizeof(long)*2];
+ long *ptr;