Commit 459ca4c5 authored by Adam Powell's avatar Adam Powell

Patch from Ubuntu should fix arm build.

parent b5e5f075
elmerfem (5.5.0.svn.4716.dfsg-2) unstable; urgency=low
[ David Sugar <david.sugar@canonical.com> ]
* Casting patch for qreal (is not double on armel) (closes: #581023).
-- "Adam C. Powell, IV" <hazelsct@debian.org> Thu, 28 Oct 2010 13:46:20 -0400
elmerfem (5.5.0.svn.4716.dfsg-1) unstable; urgency=low
* New upstream revision, merged several Debian patches upstream.
......
Patch for qt4 on arm (or future architectures) where qreal is not double
Index: elmerfem-5.5.0.svn.4458.dfsg/ElmerGUI/Application/twod/renderarea.cpp
===================================================================
--- elmerfem-5.5.0.svn.4458.dfsg.orig/ElmerGUI/Application/twod/renderarea.cpp 010-08-25 21:42:04.000000000 +0000
+++ elmerfem-5.5.0.svn.4458.dfsg/ElmerGUI/Application/twod/renderarea.cpp 010-08-25 21:43:01.000000000 +0000
@@ -377,10 +377,10 @@
void RenderArea::fitSlot()
{
- double xmin = 9e9;
- double xmax = -9e9;
- double ymin = 9e9;
- double ymax = -9e9;
+ qreal xmin = 9e9;
+ qreal xmax = -9e9;
+ qreal ymin = 9e9;
+ qreal ymax = -9e9;
for(int i = 0; i < points.keys().size(); i++) {
int idx = points.keys().at(i);
......@@ -4,3 +4,4 @@ ElmerGUI-config.patch
edf-extra.patch
node-partition.patch
mumps.patch
arm-qt-casting.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment