Date: Wed, 1 Feb 2017 05:28:13 +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: r432982 - in head/sysutils/qpxtool: . files Message-ID: <201702010528.v115SDJt088461@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702010528.v115SDJt088461>