From owner-svn-ports-all@freebsd.org Wed Feb 1 05:27:48 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 193BCCCD87A; Wed, 1 Feb 2017 05:27:48 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC9C3114A; Wed, 1 Feb 2017 05:27:47 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v115Rk2F088183; Wed, 1 Feb 2017 05:27:46 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v115Rk62088181; Wed, 1 Feb 2017 05:27:46 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702010527.v115Rk62088181@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 05:27:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432980 - in head/x11/antimicro: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 05:27:48 -0000 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 *' (aka 'QMap *') 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);