aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-02-01 13:25:29 +0800
committerjbeich <jbeich@FreeBSD.org>2017-02-01 13:25:29 +0800
commit0d3a0a45caf2206f9ba6c89bdf84f2628bfaa209 (patch)
tree2d14e2590b11cc38796a51db31c1dec606872cf1
parent2a77777982f6ebdeb0e3139461591969b804827f (diff)
downloadfreebsd-ports-gnome-0d3a0a45caf2206f9ba6c89bdf84f2628bfaa209.tar.gz
freebsd-ports-gnome-0d3a0a45caf2206f9ba6c89bdf84f2628bfaa209.tar.zst
freebsd-ports-gnome-0d3a0a45caf2206f9ba6c89bdf84f2628bfaa209.zip
audio/mixxx: unbreak with clang 4.0
src/widget/wdisplay.cpp:89:19: error: ordered comparison between pointer and zero ('QPixmap **' and 'int') if (m_pPixmaps>0) ~~~~~~~~~~^~ PR: 216354 Reported by: antoine (via exp-run) Submitted by: tcberner
-rw-r--r--audio/mixxx/files/patch-src_widget_wdisplay.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_widget_wdisplay.cpp b/audio/mixxx/files/patch-src_widget_wdisplay.cpp
new file mode 100644
index 000000000000..806c99c008f0
--- /dev/null
+++ b/audio/mixxx/files/patch-src_widget_wdisplay.cpp
@@ -0,0 +1,13 @@
+Fix bogus pointer comparison.
+
+--- src/widget/wdisplay.cpp.orig 2013-05-08 23:20:26 UTC
++++ src/widget/wdisplay.cpp
+@@ -86,7 +86,7 @@ void WDisplay::setPixmap(int iPos, const
+
+ void WDisplay::paintEvent(QPaintEvent *)
+ {
+- if (m_pPixmaps>0)
++ if (m_pPixmaps)
+ {
+ int idx = (int)(m_fValue*(float)(m_iNoPos)/128.);
+ // Range check
td>-0/+1 * - Add user and group for audio/liquidsoapwen2010-02-011-0/+1 * - Update Wolfpack Empire to 4.3.23johans2009-12-281-0/+1 * - Reserve UID/GID 137 for audio/musicpdpav2009-12-071-0/+1 * - Prepare for add new port databases/mongodbwen2009-11-191-0/+1 * - Add 444 for callweaverpav2009-09-181-0/+1 * - Update to 0.8.5beat2009-09-181-0/+1 * - Add UID/GID:211 for devel/py-gitosisnivit2009-09-161-0/+1 * Add haldaemon with UID/GID 560.flz2009-09-071-0/+1 * Add UID and GID forgotten while adding net-mgmt/noc.bsam2009-08-181-0/+1 * Remove entries for security/trans-proxy-tor and security/dns-proxy-torerwin2009-08-161-2/+0 * Add prosody entries to UIDs & GIDs.vanilla2009-08-051-0/+1 * Register user/group "redis" for the port "databases/redis".skv2009-07-281-0/+1 * - Add fossy user/group for devel/fossology.alepulver2009-07-241-0/+1 * -Add transmission.mezz2009-06-201-0/+1 * - Add GID and UID for emulators/virtualbox.beat2009-06-181-0/+1 * - Add couchdb user and group.wxs2009-06-171-0/+1 * - Register net-mgmt/nefurafan2009-04-071-0/+1 * - Register uid and gid for mail/prayerrafan2009-03-171-0/+1 * Reflect the change of UID/GID of ejabberd.delphij2009-03-161-1/+1 * Rework on rc script for www/httptunnel.rafan2009-01-301-0/+1 * Register a fixed UID/GID for the user 'dhcpd' and use that instead of astefan2009-01-121-0/+1 * PLEASE WELCOME www/rt38pgollucci2008-12-271-0/+1 * - Take maintainershipglarkin2008-11-201-0/+1 * - Add UID and GID entries for net/rabbitmq.wxs2008-10-291-0/+1 * - Fixed left-over directory problemglarkin2008-09-091-0/+1 * - Update pgbouncer to 1.2.3mm2008-08-121-0/+1 * Reserve numbers for databases/frontbase user.edwin2008-06-131-0/+1 * Style fix, $FreeBSD$ line is a comment, so add a leading '#'.flz2008-05-201-1/+1 * Reserve UID and GID for irc/bitlbee.brix2008-05-201-0/+1 * - Add entries for irc/undernet-ircubeech2008-05-011-0/+1 * Reserve 814 for sysutils/puppet*pav2008-04-111-0/+1 * - Add GID and UID for www/openacs and www/openacs-dotlrnmm2008-04-031-0/+2 * - Add GID and UID for net/freeradius2mm2008-04-021-0/+1 * - Register gid for security/vlockrafan2008-03-311-0/+1 * - Add GID and UID for net-im/openfiremiwi2008-03-081-0/+1 * - Add missing :miwi2008-02-171-2/+2 * - add hobbit with id 280dinoex2008-01-281-0/+1 * - Reserve UID/GID 240 and 241 for aprsddb2008-01-241-0/+2 * Add 913 for _relayd.kuriyama2008-01-211-0/+1 * - Reserve uid/gid for net/iodine 0.4.1_1rafan2008-01-111-0/+1 * Add 911 for iserv (See PR ports/114017)edwin2007-09-071-0/+1 * Reserve a user and group ID for the stunnel daemon.roam2007-08-281-0/+1 * Change the pulseaudio realtime group from ``realtime'' to `pulse-rt'' to staymarcus2007-07-131-1/+1 * - Update to 1.4.1sat2007-06-301-0/+1 * - Update to 1.28beech2007-06-281-0/+1 * - add MeTA1dinoex2007-06-101-5/+5 * - Update to 0.9.8miwi2007-05-301-0/+1 * Reserve a UID for pulse and a GID for pulse and pulse-access. These are neededmarcus2007-04-301-0/+2 * - Sorted otrs correctmiwi2007-04-211-1/+1 * Register UID and UID for mail/nullmailer.clive2007-04-211-0/+1 * - Add UID/GID for devel/otrsmiwi2007-04-111-0/+1 * - Use static gid/uid.stas2007-04-111-0/+1 * (second attempt)naddy2007-04-101-0/+1 * - Give irc/hybserv a unique UID/GIDlaszlof2007-03-311-0/+1 * Register UID and GID for net-mgmt/netdisco.shaun2007-03-281-0/+1 * Correct a copy-paste problem when allocating the polkit UID, and use a uniquemarcus2007-03-241-0/+1 * - GID 89 is called vchkpwpav2007-03-241-1/+1 * Reserve UID and GID for net-mgmt/nav.des2007-03-131-0/+1 * Add GID and UID for OpenBSD spamd (mail/spamd).delphij2007-03-091-0/+1 * - add smmspdinoex2007-02-171-0/+1 * GID 72 ("ircd") missing. irc/ircd-hybrid and irc/ircd-ratbox referkoitsu2007-02-061-0/+1 * - Reserve UID/GID 312 for sphinxpav2007-01-311-0/+1 * - Reserve UID/GID 181 for nagiospav2007-01-281-0/+1 * - Register UID/GID for pdns_recursorpav2007-01-191-0/+1 * - Add user/group for sysutils/fcronrafan2007-01-171-0/+1 * Add user and group mythtv (119).grog2007-01-141-0/+1 * Add missing colon to the cups entry.shaun2006-12-281-1/+1 * - register cupsdinoex2006-12-181-0/+1 * - Reserve UID/GID 143 for mail/dovecotpav2006-12-011-0/+1 * - add wildfire to GIDs and UIDsalexbl2006-11-161-0/+1 * Register mail/fetchmail's UID and GID.barner2006-11-151-0/+1 * - Reserve UID and GID 561 for distccahze2006-11-121-0/+1 * - Add _xsi user and group for sysutils/xsi.alepulver2006-11-061-0/+1 * - Add entry for net-mgmt/bigsisterrafan2006-11-041-0/+1 * Add an entry for the tacacs group used by net/tac_plus4.marcus2006-11-021-0/+1 * - Add hacluster user.alepulver2006-11-021-0/+1 * - Register UID/GID 128 for vserverpav2006-08-291-0/+1 * - Reserve UID/GID 118 for irc/ircproxypav2006-08-291-0/+1 * Add ID for Tiarra IRC Proxy.ume2006-07-291-0/+1 * - rc.d scripts are changed to show error messages when some errorrafan2006-07-291-0/+1 * Add user/group for mail/dkimproxy, which is added two days ago.rafan2006-07-291-0/+1 * Reserve uid/gid for net/smokepinglth2006-07-261-0/+1 * Reserve uid/gid for Openlink Virtuoso Universal Server.fjoe2006-07-251-0/+1 * Add entry for trans-proxy-tor.miwi2006-07-221-0/+1 * Add entry for dns-proxy-tor.miwi2006-07-221-0/+1 * Add $FreeBSD tag.krion2006-07-221-0/+1