Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2014 18:37:11 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375181 - head/x11-themes/qt4-style-phase/files
Message-ID:  <201412211837.sBLIbBwb083688@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec 21 18:37:10 2014
New Revision: 375181
URL: https://svnweb.freebsd.org/changeset/ports/375181
QAT: https://qat.redports.org/buildarchive/r375181/

Log:
  - Fix build on arm6

Modified:
  head/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp

Modified: head/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp
==============================================================================
--- head/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp	Sun Dec 21 18:00:45 2014	(r375180)
+++ head/x11-themes/qt4-style-phase/files/patch-phasestyle.cpp	Sun Dec 21 18:37:10 2014	(r375181)
@@ -1,5 +1,14 @@
 --- phasestyle.cpp.orig	2007-05-03 08:48:44.000000000 +0400
-+++ phasestyle.cpp	2010-11-26 05:07:37.000000000 +0300
++++ phasestyle.cpp	2014-12-15 02:02:43.000000000 +0300
+@@ -2028,7 +2028,7 @@
+           qreal cx = rect.center().x();
+           qreal cy = rect.center().y();
+           qreal radius = (qMin(w, h) / 2.0) - 2.0;
+-          qreal tick = qMax(radius / 6, 4.0);
++          qreal tick = qMax(radius / 6, (qreal)4.0);
+ 
+           if (dial->subControls & SC_DialGroove) {
+               QRectF groove = QRectF(cx-radius+tick, cy-radius+tick,
 @@ -2367,6 +2367,8 @@
            return 2;
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412211837.sBLIbBwb083688>