summaryrefslogtreecommitdiff
path: root/games-util/antimicro/files
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/files
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'games-util/antimicro/files')
-rw-r--r--games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch12
1 files changed, 12 insertions, 0 deletions
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);