Package: fontmatrix Severity: serious Tags: patch Justification: no longer builds from source
I've recently fixed fontmatrix to build on armel on Ubuntu, and I'm passing along the patch to help recitify the FTBFS. The underlying issue is that on ARM, qreal is typedef'ed to float versus a double so when using qMax between a double and a qreal, you need to cast the call so the compiler can find the proper function. Index: fontmatrix-0.6.0/src/fminfodisplay.cpp =================================================================== --- fontmatrix-0.6.0.orig/src/fminfodisplay.cpp 2010-01-06 09:22:22.677196249 -0500 +++ fontmatrix-0.6.0/src/fminfodisplay.cpp 2010-01-06 09:22:54.437193376 -0500 @@ -152,7 +152,7 @@ GlyphToSVGHelper gtsh ( gpi->path(), tf ); svg += gtsh.getSVGPath() + "\n"; horOffset += gpi->data(GLYPH_DATA_HADVANCE).toDouble() * scaleFactor; - maxHeight = qMax ( gtsh.getRect().height(), maxHeight ); + maxHeight = qMax<qreal> ( gtsh.getRect().height(), maxHeight ); tf.translate( gpi->data(GLYPH_DATA_HADVANCE).toDouble() * scaleFactor,0 ); delete gpi; } -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-16-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org