-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Peter,

thanks for the bug report. Upstream released a new version with a
corresponding fix, which I packaged. It can be found in

http://mentors.debian.net/package/qpdfview

Regards,

Benjamin Eltzner

> package: qpdfview severity: important version: 0.3~beta2-1 tags:
> patch
> 
> Your package failed to build on armel and armhf 
> sources/documentview.cpp: In member function ‘void 
> DocumentView::preparePages()Â’: sources/documentview.cpp:2121:40:
> error: no matching function for call to ‘qMax(qreal&, double)’ 
> sources/documentview.cpp:2121:40: note: candidate is: 
> /usr/include/qt4/QtCore/qglobal.h:1116:17: note: template<class T>
> const T& qMax(const T&, const T&) sources/documentview.cpp:2122:40:
> error: no matching function for call to ‘qMin(qreal&, double)’ 
> sources/documentview.cpp:2122:40: note: candidate is: 
> /usr/include/qt4/QtCore/qglobal.h:1114:17: note: template<class T>
> const T& qMin(const T&, const T&) make[1]: *** [documentview.o]
> Error 1
> 
> On most architectures qreal is defined as double but on arm
> architectures it is defined as float. Assignments between qreal and
> double are ok because assignments between float and double are ok
> but there can be issues with pointers, templates and overloaded
> functions if proper distinctions are not made. In this particular
> case the issue is a template.
> 
> The fix is a simple case of adding some typecasts a similar issue
> in main.cpp is fixed in the same way.
> 
> patch is attached.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP2iNoAAoJEK27BRz67lmpjkcQAI9wTOf2X2/M/4/C4ZCGi+a9
l63+FjXQZ7NLN78RbjG4zgR7czof1hkdLth2eUhV+Q9zdNqEAGZeZTv4eccs/AdF
rWIa5kVwKzaFSv/xULlQ2/0Hzxi02lKWIv89lVNCONDvG3RGbQAzvQ9B9PVuQQmf
+9F2DYEhB1EY/jc8I1nZ9jbLhjtrvkKcTyXErgSdnrMYuVy0lOG015TbTg++/9o8
NNNTjLTP9g5yri146hkpl1DOIbCsDmaLEsSVjoiHHW+R1IZT0Vc82UIoPXcI3J0G
VULmmryd6H3+/cBkRKu+hLWTXT0L0rM3KhSurBpzHeBhxbEGEzqvCS0UqUVYCToy
Je+EQ2wnsT3H8+bQzdMT9k5kDx/H/nZGsU0+EC4Js0xr3DROHvkFdlo4u/cmbtfI
6546qaKONw9kcVUxYvyonP6UvKroZpCLfROyCDrmwcJE4Vf5GIY+gmAB39DYeivd
KoAjaTjPWWIz1rRT2BYawnGAUg7bHKPnHcjkG/E+r1VcUa4Cdk8Xp3PpLLz/1Hcb
IglaGf5Qyb1duGWX6kOfoX/GVfu7rfMy8x6ArH4fnhWhiXpzL+UhrHoSYiqIcfd0
iOIO0figiVG8UMJvmHW1IXV2QMi6y/433jG5vcGvpg1sfmbQhcuowtlWUBrE+/NE
PQsBKBvbV3uzF790oTZ+
=D8pj
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to