Date: Wed, 1 Feb 2017 05:27:46 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432980 - in head/x11/antimicro: . files Message-ID: <201702010527.v115Rk62088181@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Feb 1 05:27:46 2017 New Revision: 432980 URL: https://svnweb.freebsd.org/changeset/ports/432980 Log: x11/antimicro: unbreak with clang 4.0 src/mainwindow.cpp:367:19: error: ordered comparison between pointer and zero ('QMap<SDL_JoystickID, InputDevice *> *' (aka 'QMap<int, InputDevice *> *') and 'int') if (joysticks > 0) ~~~~~~~~~ ^ ~ PR: 216358 Reported by: antoine (via exp-run) Added: head/x11/antimicro/files/ head/x11/antimicro/files/patch-src_mainwindow.cpp (contents, props changed) Modified: head/x11/antimicro/Makefile (contents, props changed) Modified: head/x11/antimicro/Makefile ============================================================================== --- head/x11/antimicro/Makefile Wed Feb 1 05:27:33 2017 (r432979) +++ head/x11/antimicro/Makefile Wed Feb 1 05:27:46 2017 (r432980) @@ -3,6 +3,7 @@ PORTNAME= antimicro PORTVERSION= 2.23 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= ports@FreeBSD.org Added: head/x11/antimicro/files/patch-src_mainwindow.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/antimicro/files/patch-src_mainwindow.cpp Wed Feb 1 05:27:46 2017 (r432980) @@ -0,0 +1,11 @@ +--- src/mainwindow.cpp.orig 2016-11-06 01:23:03 UTC ++++ 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702010527.v115Rk62088181>