diff -Nru smb4k-1.0.1/debian/changelog smb4k-1.0.1/debian/changelog --- smb4k-1.0.1/debian/changelog 2012-05-19 17:03:50.000000000 +0000 +++ smb4k-1.0.1/debian/changelog 2012-10-12 16:25:23.000000000 +0000 @@ -1,3 +1,10 @@ +smb4k (1.0.1-1ubuntu1) quantal; urgency=low + + * qreal-double.patch: Adjust variable declarations from qreal + to double to fix FTBFS on armel and armhf (closes: #675892) + + -- Adam Conrad Fri, 12 Oct 2012 10:17:42 -0600 + smb4k (1.0.1-1) unstable; urgency=low * New upstream release. diff -Nru smb4k-1.0.1/debian/control smb4k-1.0.1/debian/control --- smb4k-1.0.1/debian/control 2012-05-19 16:14:15.000000000 +0000 +++ smb4k-1.0.1/debian/control 2012-10-12 16:25:40.000000000 +0000 @@ -1,7 +1,8 @@ Source: smb4k Section: utils Priority: optional -Maintainer: Debian KDE Extras Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian KDE Extras Team Uploaders: Fathi Boudra Build-Depends: cmake (>= 2.8.0), debhelper (>= 9), diff -Nru smb4k-1.0.1/debian/patches/qreal-double.patch smb4k-1.0.1/debian/patches/qreal-double.patch --- smb4k-1.0.1/debian/patches/qreal-double.patch 1970-01-01 00:00:00.000000000 +0000 +++ smb4k-1.0.1/debian/patches/qreal-double.patch 2012-10-12 16:24:09.000000000 +0000 @@ -0,0 +1,38 @@ +Description: Fix ARM FTBFS + The code in smb4kshare.cpp tries to pass pointers to qreal to functions + expecting pointers to double. This breaks on arm architectures where + qreal is defined as float. +Author: peter green +Bug-Debian: http://bugs.debian.org/675892 +Forwarded: no +Reviewed-By: Adam Conrad + +--- smb4k-1.0.1.orig/core/smb4kshare.cpp ++++ smb4k-1.0.1/core/smb4kshare.cpp +@@ -475,7 +475,7 @@ QString Smb4KShare::totalDiskSpaceString + QString total, total_dim = QString(); + + int exponent = 0; +- qreal tmp_factor = 0; ++ double tmp_factor = 0; + qulonglong factor = 0; + + (void) frexp( m_total * 1024, &exponent ); +@@ -532,7 +532,7 @@ QString Smb4KShare::freeDiskSpaceString( + QString free, free_dim = QString(); + + int exponent = 0; +- qreal tmp_factor = 0; ++ double tmp_factor = 0; + qulonglong factor = 0; + + (void) frexp( m_free * 1024, &exponent ); +@@ -589,7 +589,7 @@ QString Smb4KShare::usedDiskSpaceString( + QString used, used_dim = QString(); + + int exponent = 0; +- qreal tmp_factor = 0; ++ double tmp_factor = 0; + qulonglong factor = 0; + + (void) frexp( m_used * 1024, &exponent ); diff -Nru smb4k-1.0.1/debian/patches/series smb4k-1.0.1/debian/patches/series --- smb4k-1.0.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ smb4k-1.0.1/debian/patches/series 2012-10-12 16:22:14.000000000 +0000 @@ -0,0 +1 @@ +qreal-double.patch