svn commit: r375181 - head/x11-themes/qt4-style-phase/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Dec 21 18:37:11 UTC 2014


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;
  


More information about the svn-ports-head mailing list