Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540234 - =games-simulation/openttd-1.3.3 fails to build with >=media-libs/freetype-2.5.4
Summary: =games-simulation/openttd-1.3.3 fails to build with >=media-libs/freetype-2.5.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: http://bugs.openttd.org/task/6185
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-15 21:50 UTC by Israel G. Lugo
Modified: 2015-02-15 23:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log of the failure (build.log,228.21 KB, text/x-log)
2015-02-15 21:50 UTC, Israel G. Lugo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Israel G. Lugo 2015-02-15 21:50:35 UTC
Created attachment 396568 [details]
build log of the failure

Please port following upstream fix:
http://bugs.openttd.org/task/6185 (Fix build with freetype2 >= 2.5.4)

I'm unable to build openttd after having upgraded from freetype-2.5.3-r1 to freetype-2.5.5. Compilation fails with errors:

/var/tmp/portage/games-simulation/openttd-1.3.3/work/openttd-1.3.3/src/fontcache.cpp: In member function ‘virtual const Sprite* FreeTypeFontCache::GetGlyph(GlyphID)’:
/var/tmp/portage/games-simulation/openttd-1.3.3/work/openttd-1.3.3/src/fontcache.cpp:516:66: error: no matching function for call to ‘max(int, unsigned int)’
...
Makefile:234: recipe for target 'fontcache.o' failed
make[1]: *** [fontcache.o] Error 1

Please see attached build.log for more details.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2015-02-15 22:47:49 UTC
should be fine with openttd-1.4.4
Comment 2 Israel G. Lugo 2015-02-15 23:07:00 UTC
(In reply to Mr. Bones. from comment #1)
> should be fine with openttd-1.4.4

Which is still testing.

Current stable openttd breaks with current stable freetype. As it stands, the stable tree is inconsistent.

I would think that this should be fixed, either by stabilizing 1.4.4 or backporting the fix?
Comment 3 Israel G. Lugo 2015-02-15 23:14:55 UTC
(In reply to Israel G. Lugo from comment #2)
> Current stable openttd breaks with current stable freetype. As it stands,
> the stable tree is inconsistent.
> 
> I would think that this should be fixed, either by stabilizing 1.4.4 or
> backporting the fix?

If not, may I suggest at least changing the freetype dependency in openttd-1.4.3 to <media-libs/freetype-2.5.4?