summaryrefslogtreecommitdiff
path: root/games-util/etswitch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-util/etswitch
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-util/etswitch')
-rw-r--r--games-util/etswitch/Manifest3
-rw-r--r--games-util/etswitch/etswitch-0.1.14-r1.ebuild17
-rw-r--r--games-util/etswitch/files/etswitch-0.1.14-fno-common.patch22
3 files changed, 31 insertions, 11 deletions
diff --git a/games-util/etswitch/Manifest b/games-util/etswitch/Manifest
index 57fb6c90efd9..1a5b0572f4b4 100644
--- a/games-util/etswitch/Manifest
+++ b/games-util/etswitch/Manifest
@@ -1,5 +1,6 @@
AUX etswitch-0.1.14-desktop-entry.patch 464 BLAKE2B 5058044958c26fdb6c062f3ea6d2a9d2d8a42421de016ab7c4d7263b638fb323d02771cd789bd57d35897b4a08a9e03031e0b6602edf241068d0574be72f2aa3 SHA512 aa21d15ce672f51903e8cd86df3d8794231037d8eb8cb97a8313dc6f3c7212b7bb89d8f78ecc249a589ad03b38ef41f5d346f41dc9f929d130eb83794b19b9ec
+AUX etswitch-0.1.14-fno-common.patch 462 BLAKE2B db3d0f548546b4e6ac629b487285fc3ffd537f788b16adb5c38335b0bb6ab660217a97d3aaa0bfa52940b9b6841f868f3f2af6500b8c397773fe16752e721934 SHA512 3f14256c4dc884192868bc7ae4ff386eaacbbf9c4ebf8554a0f4eecd79602bdb59548d1f3b37a39bbc8be3bf0e083614a2793f9836c0feedf993ce717d528a46
AUX etswitch-0.1.14-glibc.patch 628 BLAKE2B e6a7228a90417cda917cd4218496643e6bb2fa6b41886b48cdbb17758591d6a5742f6f427ccb6dd75d78403d1d394bb5324fd63848260e35808ba5d232a4e2b9 SHA512 27249584033beb4cf81b37e387a814a7b213d4108f530bc21494196916fe395c15767e384c62257dd3abb1d04eb104c0863b7e2d80cfae4927912a836b181019
DIST etswitch-0.1.14.tar.gz 165811 BLAKE2B 3d52b9dbddec9ddba914cf8e3ecb5013b2b7eac0b9a655d1be60c01cb77639d8ca2906140fc3ecd097005aaef5b11bf4ddd2ac88a5d2e0ba26aac9f2f1593248 SHA512 15447e728b8c6783e663bb76dd64a03b57ecfea6845991f4deca73ee5c5b8c2f87e92d842a46948e48468898eb036f17cbaf365887ea30c1b724db9133f9620c
-EBUILD etswitch-0.1.14-r1.ebuild 597 BLAKE2B ee3a7e7c2a51053cfd6abe75882253fa70ace235137ed9a2f756c6103cfc5e102451034fb5a6dcdd58c3d2084598b2be2fe49e1c8e5b01464968ca122c3a4210 SHA512 cd53988bc5ec85ff2882f458f6a349bad34712c6adf2be2a9cbe14c010270f889eacc22dca19f6adf82880092742334e2660ce7deecea829d108e7748035db52
+EBUILD etswitch-0.1.14-r1.ebuild 574 BLAKE2B 9d39e81d2f70388dc1f8f161e5ad243c02270d32b0c793ef1051766b9c5b1b93bdb48c64f1ea2ea360ea9c3c78b6d65c0fbaf0e6eefae75ee53b60f15aedfb5a SHA512 397752da0821dcd25ec6c286f6cc055ad5f477fbc8e8c41407bc80994721d0b7a2d6b515538a1bdd9634431c29fd39cc0ea76ee3c291615e528ce9e5c7083965
MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254
diff --git a/games-util/etswitch/etswitch-0.1.14-r1.ebuild b/games-util/etswitch/etswitch-0.1.14-r1.ebuild
index da46e7ba4978..61b5ce230018 100644
--- a/games-util/etswitch/etswitch-0.1.14-r1.ebuild
+++ b/games-util/etswitch/etswitch-0.1.14-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="*nix minimizer for a few games"
HOMEPAGE="http://hem.bredband.net/b400150/"
@@ -10,9 +10,9 @@ SRC_URI="http://hem.bredband.net/b400150/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ x11-libs/libX11
x11-libs/libXxf86vm
x11-libs/libXmu
x11-libs/libXpm"
@@ -21,10 +21,7 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto"
PATCHES=(
- "${FILESDIR}"/${P}-desktop-entry.patch
- "${FILESDIR}"/${P}-glibc.patch
+ "${FILESDIR}"/${P}-desktop-entry.patch
+ "${FILESDIR}"/${P}-glibc.patch
+ "${FILESDIR}"/${P}-fno-common.patch
)
-
-src_configure() {
- econf --datadir=/usr/share
-}
diff --git a/games-util/etswitch/files/etswitch-0.1.14-fno-common.patch b/games-util/etswitch/files/etswitch-0.1.14-fno-common.patch
new file mode 100644
index 000000000000..f0bdebcb6a76
--- /dev/null
+++ b/games-util/etswitch/files/etswitch-0.1.14-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/src/read_wid.c
++++ b/src/read_wid.c
+@@ -62,6 +62,8 @@
+ #include <errno.h>
+ extern int errno;
+
++wid_info_struct *wid;
++
+ /*
+ will try and read the wid file and malloc the game struct
+ if wid file is missing it will read the internal one
+--- a/src/read_wid.h
++++ b/src/read_wid.h
+@@ -38,7 +38,7 @@
+ char *first_struct;
+ } wid_info_struct;
+
+-wid_info_struct *wid; /* global wid array */
++extern wid_info_struct *wid; /* global wid array */
+
+
+