Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package antimicro for openSUSE:Factory checked in at 2021-06-05 23:31:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/antimicro (Old) and /work/SRC/openSUSE:Factory/.antimicro.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "antimicro" Sat Jun 5 23:31:33 2021 rev:2 rq:897597 version:2.23 Changes: -------- --- /work/SRC/openSUSE:Factory/antimicro/antimicro.changes 2019-07-26 12:42:06.437862170 +0200 +++ /work/SRC/openSUSE:Factory/.antimicro.new.1898/antimicro.changes 2021-06-05 23:32:09.376503088 +0200 @@ -1,0 +2,5 @@ +Sat Jun 5 01:11:48 UTC 2021 - ???????? ???????????? <[email protected]> + +- Added patch antimicro-gcc11-fix.patch for fix gcc11 build. + +------------------------------------------------------------------- New: ---- antimicro-gcc11-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ antimicro.spec ++++++ --- /var/tmp/diff_new_pack.g3cMSb/_old 2021-06-05 23:32:09.848503908 +0200 +++ /var/tmp/diff_new_pack.g3cMSb/_new 2021-06-05 23:32:09.852503916 +0200 @@ -1,7 +1,7 @@ # # spec file for package antimicro # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,9 @@ URL: https://github.com/AntiMicro/%{name} Source0: %{name}-%{version}.tar.gz Patch0: remove_datetime_aboutdialog.patch -Patch1: remove_qt5_wrap_cpp.patch -Patch2: rpmlint.patch +Patch1: rpmlint.patch +Patch2: remove_qt5_wrap_cpp.patch +Patch3: antimicro-gcc11-fix.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fdupes @@ -47,8 +48,7 @@ for playing games with no built-in or poor game-pad support. %prep -%setup -q -%autopatch -p1 +%autosetup -p1 %build %cmake -LA @@ -70,10 +70,9 @@ %mime_database_postun %files -%defattr(0644,root,root,-) %license LICENSE %doc Changelog README.md -%attr(0755,root,root) %{_bindir}/%{name} +%{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/mime/packages/%{name}.xml ++++++ antimicro-gcc11-fix.patch ++++++ diff -Pdpru antimicro-2.23.orig/src/mainwindow.cpp antimicro-2.23/src/mainwindow.cpp --- antimicro-2.23.orig/src/mainwindow.cpp 2016-11-06 04:23:03.000000000 +0300 +++ antimicro-2.23/src/mainwindow.cpp 2021-06-05 03:51:51.830675677 +0300 @@ -364,7 +364,7 @@ void MainWindow::makeJoystickTabs() ui->tabWidget->addTab(tabwidget, joytabName); } - if (joysticks > 0) + if (joysticks != nullptr) { ui->tabWidget->setCurrentIndex(0); ui->stackedWidget->setCurrentIndex(1);
