Bug#783839: freeorion: FTBFS in Jessie

Markus Koschany apo at gambaru.de
Sun May 3 21:56:51 UTC 2015


On 30.04.2015 17:57, Edmund Grimley Evans wrote:
> Source: freeorion
> Version: 0.4.4-2
> 
> It failed to build in Jessie, amd64 and arm64. In each case the error
> was:
> 
> /«PKGBUILDDIR»/FreeOrion/GG/src/Font.cpp: In member function 'void GG::Font::Ini
> t(FT_FaceRec_*&)':
> /«PKGBUILDDIR»/FreeOrion/GG/src/Font.cpp:1289:41: error: ambiguous
> overload for 'operator>' (operand types are 'const unsigned int' and
> 'const GG::X')
>                  if ((glyph_bitmap.width > BUF_WIDTH) |
> (glyph_bitmap.rows > BUF_HEIGHT)) {
>                                          ^

Hi,

could you please test the attached patch and report back if this solves
your problem?

I have created this patch based on the information I have found here:

http://www.freeorion.org/forum/viewtopic.php?f=24&t=9206&p=73785

If it works, I will fix this bug with the next point release for Jessie.

Regards,

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-FTBFS.patch
Type: text/x-diff
Size: 3387 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150503/c9d4f226/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150503/c9d4f226/attachment.sig>


More information about the Pkg-games-devel mailing list