summaryrefslogtreecommitdiff
path: root/games-util/antimicro
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /games-util/antimicro
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'games-util/antimicro')
-rw-r--r--games-util/antimicro/Manifest3
-rw-r--r--games-util/antimicro/antimicro-2.23.ebuild1
-rw-r--r--games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch12
3 files changed, 15 insertions, 1 deletions
diff --git a/games-util/antimicro/Manifest b/games-util/antimicro/Manifest
index 27d1bcfc2cae..8a08f7a5028f 100644
--- a/games-util/antimicro/Manifest
+++ b/games-util/antimicro/Manifest
@@ -1,6 +1,7 @@
AUX antimicro-2.23-SDL2-include.patch 311 BLAKE2B c5aef415ceefb4ed2b127eb488c69112a116337233c0ef7e236946b84e56495418181f681fb546286dfe30b0ec02b20fc3624876fadbb7994e9503454e358a2e SHA512 f73a5ca33334c97912ff4fcc2fdc735eb8c3e0b54e3e33e2521d7120fdd2cad8123fde53f5bb26d869cbd5b7c815acacccb1cd20c281e11c09ad52d9dc243bba
+AUX antimicro-2.23-gcc11-ptr-compare.patch 356 BLAKE2B 105cc138f0066b80435058ccae4e97f5ac81f026021a7f033395bcdf7f0c1f88b7ac66fda48861f9c3018684e733b63a9a3348a159195b68a90d5353d82725e9 SHA512 4c54ed6faee466053132588762a11122efaa6715aa0c734925fad85a85c0b6ccabfa7172dd1da6338afdcff7c8119cdb9da6f9c35b1149f5b78060666459a54d
AUX antimicro-2.23-linking-errors.patch 1659 BLAKE2B c77959abef962ef6448baa6b882e3cdfb6873b8c4c19eb4043bcd53125cd2036984adc9713b642b1141e09182332bbd135ff9ebb3b99273ace1157d9d6e52227 SHA512 e5dfa1442d97d3d16fca7584d8f8979ad33d39e0d007b2ccf3068f65dc225974702884429e26e5b9eb25c0de6dc6651ae44377f435943f9ba09c3c1805763f7d
AUX antimicro-2.23-no-compress-man-page.patch 443 BLAKE2B 7bc8db24413c9870f5d38ed0b75a97c15f31aada47a3b9ab6f70b2d57550c5e5092384f5fe6392b66c78ea14d8774348f6d11176901d97bd1bab4ac15a408837 SHA512 3aba1a14c28febcd127dce7aa6d9184f4d23003bd7a99a4daf646bcb4c7cbe95a1962efd8f362ea7d05297365b3a850a604187dd529ba1c95781c102fd050573
DIST antimicro-2.23.tar.gz 1157299 BLAKE2B 4577588414f3145f5e6a817160214d6f2d0fc3cc3c9dda456173c42586247420f413785b7ca26b9d02397fb970e005c386675a478fd07330d5b13683094f28ab SHA512 cd58b5a9771d35fc937306a3452e8776ef754bb5a4fa44aeedb735d8366a38b318c1bf14f105bf8003e4264c35f129224becdade32d2a7b61067ec5a705a1e7e
-EBUILD antimicro-2.23.ebuild 1067 BLAKE2B 8d3293624ff524a39b5965f61c552ed224dcda6adf661bf82a71318a97aa34de6aec4265dc75e41946988a2927ca79bc4a77013822f80f15f95610e4378df4b8 SHA512 41128a18d59ae99308ef2b7422bfa8ac00b9d1618f6f67ce62535b5715dc0d3018d352be679d4d61164f4c6ddc581429377adda1327f8908c9f83a8d75e91ba0
+EBUILD antimicro-2.23.ebuild 1117 BLAKE2B 5c61a75d144d63af08ff8384c0f00f8f4c0f6aa57d0977b5e03c0fd7b56adda5c94748ac785ab789fb8287a831e241d7b4278260ee9c78fd6109de5107a3e441 SHA512 a2fccf5cbc489df9b8ca7a154f0ddf8b4e24766de91c17a519cba47650e2aaca9c1c20eaf11209499397a582f2671e325434b3e6513b8ea244b0405c11fe5c40
MISC metadata.xml 336 BLAKE2B 356b2f4e6c4e30467d1d84264432d49a2bc60d6dcfdde3f7e019c8191b91d2f105016832990d188cfa0451509c88b543a7f5f0b99a843295dd92d1d838268ce8 SHA512 6df67abd609cd6d4e29875695481bca8857c6a1d1c8f4803c40d584cacd47a46ed3f9fdaa6a7369950a795ce07cc61ad47fa096ea35a463a6594916ae52a4968
diff --git a/games-util/antimicro/antimicro-2.23.ebuild b/games-util/antimicro/antimicro-2.23.ebuild
index 1363ec031a9d..965970f2d3b4 100644
--- a/games-util/antimicro/antimicro-2.23.ebuild
+++ b/games-util/antimicro/antimicro-2.23.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${P}-linking-errors.patch
"${FILESDIR}"/${PN}-2.23-no-compress-man-page.patch
"${FILESDIR}"/${PN}-2.23-SDL2-include.patch
+ "${FILESDIR}"/${PN}-2.23-gcc11-ptr-compare.patch
)
src_prepare() {
diff --git a/games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch b/games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch
new file mode 100644
index 000000000000..2ed157c1e84b
--- /dev/null
+++ b/games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/791145
+--- a/src/mainwindow.cpp
++++ b/src/mainwindow.cpp
+@@ -364,7 +364,7 @@ void MainWindow::makeJoystickTabs()
+ ui->tabWidget->addTab(tabwidget, joytabName);
+ }
+
+- if (joysticks > 0)
++ if (joysticks->size() > 0)
+ {
+ ui->tabWidget->setCurrentIndex(0);
+ ui->stackedWidget->setCurrentIndex(1);