Commit 4a849da8 authored by Adam Powell's avatar Adam Powell

Add another file to qreal casting patch

parent 459ca4c5
elmerfem (5.5.0.svn.4716.dfsg-3) unstable; urgency=low
* Added another file to qreal casting patch (closes: #602395).
-- "Adam C. Powell, IV" <hazelsct@debian.org> Thu, 04 Nov 2010 09:41:59 -0400
elmerfem (5.5.0.svn.4716.dfsg-2) unstable; urgency=low
[ David Sugar <david.sugar@canonical.com> ]
......
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
Index: elmerfem/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
--- elmerfem.orig/ElmerGUI/Application/twod/renderarea.cpp
+++ elmerfem/ElmerGUI/Application/twod/renderarea.cpp
@@ -377,10 +377,10 @@
void RenderArea::fitSlot()
......@@ -19,3 +19,16 @@ Index: elmerfem-5.5.0.svn.4458.dfsg/ElmerGUI/Application/twod/renderarea.cpp
for(int i = 0; i < points.keys().size(); i++) {
int idx = points.keys().at(i);
Index: elmerfem/ElmerGUI/Application/src/helpers.cpp
===================================================================
--- elmerfem.orig/ElmerGUI/Application/src/helpers.cpp
+++ elmerfem/ElmerGUI/Application/src/helpers.cpp
@@ -90,7 +90,7 @@
//====================================================================
// Invert 4x4 matrix (for visualiztion only)
//====================================================================
-void Helpers::invertMatrix(const double *a, double *inva)
+void Helpers::invertMatrix(const qreal *a, double *inva)
{
QMatrix4x4 matrix(a);
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