diff -Nru elmerfem-5.5.0.svn.4458.dfsg/debian/changelog elmerfem-5.5.0.svn.4458.dfsg/debian/changelog --- elmerfem-5.5.0.svn.4458.dfsg/debian/changelog 2010-06-21 15:01:59.000000000 +0000 +++ elmerfem-5.5.0.svn.4458.dfsg/debian/changelog 2010-08-26 13:08:23.000000000 +0000 @@ -1,3 +1,9 @@ +elmerfem (5.5.0.svn.4458.dfsg-2.1ubuntu1) maverick; urgency=low + + * Casting patch for qreal (is not double on armel) (LP: #624631) + + -- David Sugar Wed, 25 Aug 2010 21:43:18 +0000 + elmerfem (5.5.0.svn.4458.dfsg-2.1) unstable; urgency=low * Non-maintainer upload. diff -Nru elmerfem-5.5.0.svn.4458.dfsg/debian/control elmerfem-5.5.0.svn.4458.dfsg/debian/control --- elmerfem-5.5.0.svn.4458.dfsg/debian/control 2010-05-04 23:16:30.000000000 +0000 +++ elmerfem-5.5.0.svn.4458.dfsg/debian/control 2010-08-25 21:44:08.000000000 +0000 @@ -1,7 +1,8 @@ Source: elmerfem Section: science Priority: extra -Maintainer: Debian Science Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Science Maintainers Uploaders: "Adam C. Powell, IV" Standards-Version: 3.8.4 Build-Depends: debhelper (>= 5), quilt, po-debconf, autoconf, automake, diff -Nru elmerfem-5.5.0.svn.4458.dfsg/debian/patches/arm-qt-casting.patch elmerfem-5.5.0.svn.4458.dfsg/debian/patches/arm-qt-casting.patch --- elmerfem-5.5.0.svn.4458.dfsg/debian/patches/arm-qt-casting.patch 1970-01-01 00:00:00.000000000 +0000 +++ elmerfem-5.5.0.svn.4458.dfsg/debian/patches/arm-qt-casting.patch 2010-08-26 13:14:48.000000000 +0000 @@ -0,0 +1,21 @@ +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 2010-08-25 21:42:04.000000000 +0000 ++++ elmerfem-5.5.0.svn.4458.dfsg/ElmerGUI/Application/twod/renderarea.cpp 2010-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); diff -Nru elmerfem-5.5.0.svn.4458.dfsg/debian/patches/series elmerfem-5.5.0.svn.4458.dfsg/debian/patches/series --- elmerfem-5.5.0.svn.4458.dfsg/debian/patches/series 2010-05-04 22:36:57.000000000 +0000 +++ elmerfem-5.5.0.svn.4458.dfsg/debian/patches/series 2010-08-25 21:41:30.000000000 +0000 @@ -8,3 +8,4 @@ node-partition.patch destdir.patch fix-clean.patch +arm-qt-casting.patch