summaryrefslogtreecommitdiff
path: root/dev-embedded/xa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-embedded/xa
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-embedded/xa')
-rw-r--r--dev-embedded/xa/Manifest3
-rw-r--r--dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch12
-rw-r--r--dev-embedded/xa/xa-2.3.10.ebuild10
3 files changed, 22 insertions, 3 deletions
diff --git a/dev-embedded/xa/Manifest b/dev-embedded/xa/Manifest
index 7cfa49a3fd89..49ec8f72b1b2 100644
--- a/dev-embedded/xa/Manifest
+++ b/dev-embedded/xa/Manifest
@@ -1,3 +1,4 @@
+AUX xa-2.3.10-fix-gcc10-fno-common.patch 203 BLAKE2B 9f503900b016956a02d2d9a1103884297e1545c624cb94c079abbc3e795ce803f35cf1c150ea233c2b78f9719ce2d15283a9ff5551c5adcbed55b6e98bf13747 SHA512 3862cad04136200447486fd6ac76298118d56a53c21f9db7aaf8f7ec248c10bd2f3ae610112a6dc5e99944da03ec52bc7cdb33879e6f1cb8fa6e9221f71472ea
DIST xa-2.3.10.tar.gz 152433 BLAKE2B af9ab28e6596f6c96abd075779670955e7bfe79b3e9e18c5c75f35ffb166c705a0ebb60dcca1928c49a836eefcd7b15d12437579fbe645c0b5ce51e81da92d8d SHA512 08b9994e295495744d5252fa983b111f41d0447cdb32d0c065f8fbd942ffa0899476d6cfebe1162e4aa08b1d0a2d8df74c2a60987d2509b8bca45da670f4a67f
-EBUILD xa-2.3.10.ebuild 567 BLAKE2B 5aa8a1a9c00810a0ae1039ba92338ce97d0a75642eab6a082fca8db223d38fbc3a9b72b9fa454b7ac7e33e002ada1153a883b82eb89e1f3905e71df441653a1e SHA512 7c3affc4a1b726ca880af4e507433b6858e9b973f6dfecae7e428851a2b5b958ebf672ee207b612bc3cdd9c98244b5e2d528ce83ea18d9bda233ec1357334138
+EBUILD xa-2.3.10.ebuild 665 BLAKE2B 04202bdc5799678f851e623fb95b07d90f3465117c414fc4b27dd93c2e53c24ffdb58123f38eadc1d78cc8365da1a68646e401bde1b275fe26ec1874406f84df SHA512 a5290200cefc0ce149f46b7ced678757d3b4d671836da0dc217efb5efda88c20bc553c4531568270e8379f0486e0c7e80307ad17599d92e7d8a34b306a7e511a
MISC metadata.xml 547 BLAKE2B b527da76f0bb9f9ee7bb45a48f2f6ded265f296efb4babd2f74c3db9777071ebad2f733a45325115565b3e7932b9b3ec1d87129427aefe149f6871804ece5ffe SHA512 780c7e01126675e679037e97de4ddaaca26929326b5803068abbbf0a84218c02873a4db5bfa42704953a71164b62267f80227924edd3d46755a8d6238c0c94c3
diff --git a/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch b/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch
new file mode 100644
index 000000000000..5b3486433885
--- /dev/null
+++ b/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch
@@ -0,0 +1,12 @@
+--- a/src/xap.h
++++ b/src/xap.h
+@@ -35,7 +35,7 @@
+ long gm_ppm(void);
+ long ga_ppm(void);
+
+-Datei *filep;
+-char s[MAXLINE];
++extern Datei *filep;
++extern char s[MAXLINE];
+
+ #endif /* __XA65_XAP_H__ */
diff --git a/dev-embedded/xa/xa-2.3.10.ebuild b/dev-embedded/xa/xa-2.3.10.ebuild
index 0b4aabb57139..0504b39d1534 100644
--- a/dev-embedded/xa/xa-2.3.10.ebuild
+++ b/dev-embedded/xa/xa-2.3.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,9 @@ SRC_URI="https://www.floodgap.com/retrotech/${PN}/dists/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.3.10-fix-gcc10-fno-common.patch )
src_compile() {
emake \
@@ -21,6 +23,10 @@ src_compile() {
LDFLAGS="${LDFLAGS}"
}
+src_test() {
+ emake -j1 test
+}
+
src_install() {
emake install DESTDIR="${ED}/usr"
einstalldocs