Package: fritzing Version: 0.7.10b-1 Severity: serious Tags: patch upstream Justification: fails to build from source (but built successfully in the past)
On arm*, qreal != double. See the attached patch for a fix. Also, already sent upstream. See: http://code.google.com/p/fritzing/issues/detail?id=2464 Since this doesn't affect Wheezy, I don't plan to NMU.
Scott Kitterman <scott@kitterman,com> Will forward to Debian/upstream Qreal != Double on arm* Index: fritzing-0.7.10b/src/partseditor/pemainwindow.cpp =================================================================== --- fritzing-0.7.10b.orig/src/partseditor/pemainwindow.cpp 2013-03-09 15:53:38.646230842 -0500 +++ fritzing-0.7.10b/src/partseditor/pemainwindow.cpp 2013-03-09 15:54:33.466230836 -0500 @@ -2196,10 +2196,10 @@ QPointF p = pegi->terminalPoint(); if (coord == "x") { - p.setX(qMax(0.0, qMin(value, pegi->rect().width()))); + p.setX(qMax(qreal(0.0), qMin(qreal(value), pegi->rect().width()))); } else { - p.setY(qMax(0.0, qMin(value, pegi->rect().height()))); + p.setY(qMax(qreal(0.0), qMin(qreal(value), pegi->rect().height()))); } terminalPointChangedAux(pegi, pegi->terminalPoint(), p);