From owner-svn-ports-all@freebsd.org Wed Feb 1 05:28:15 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 0AF1DCCD92A; Wed, 1 Feb 2017 05:28:15 +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 C519D1394; Wed, 1 Feb 2017 05:28:14 +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 v115SDaQ088463; Wed, 1 Feb 2017 05:28:13 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v115SDJt088461; Wed, 1 Feb 2017 05:28:13 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702010528.v115SDJt088461@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:28:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432982 - in head/sysutils/qpxtool: . 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:28:15 -0000 Author: jbeich Date: Wed Feb 1 05:28:13 2017 New Revision: 432982 URL: https://svnweb.freebsd.org/changeset/ports/432982 Log: sysutils/qpxtool: unbreak with clang 4.0 src/mainwindow.cpp:429:9: error: ordered comparison between pointer and zero ('QAction *' and 'int') if (act<0) return; ~~~^~ Reported by: antoine (via exp-run) Added: head/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp (contents, props changed) Modified: head/sysutils/qpxtool/Makefile (contents, props changed) Modified: head/sysutils/qpxtool/Makefile ============================================================================== --- head/sysutils/qpxtool/Makefile Wed Feb 1 05:28:00 2017 (r432981) +++ head/sysutils/qpxtool/Makefile Wed Feb 1 05:28:13 2017 (r432982) @@ -3,7 +3,7 @@ PORTNAME= qpxtool PORTVERSION= 0.7.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION} Added: head/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp Wed Feb 1 05:28:13 2017 (r432982) @@ -0,0 +1,11 @@ +--- gui/src/mainwindow.cpp.orig 2012-12-03 07:13:07 UTC ++++ gui/src/mainwindow.cpp +@@ -426,7 +426,7 @@ void QPxToolMW::selectTab() + int idx; + QAction *act = (QAction*) sender(); + idx = act_sblist.indexOf(act); +- if (act<0) return; ++ if (act == NULL) return; + mwidget->selectTab(idx); + } +