Date: Thu, 11 Dec 2014 02:24:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195869] New: games/openttd: fix build with new freetype2 Message-ID: <bug-195869-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195869 Bug ID: 195869 Summary: games/openttd: fix build with new freetype2 Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: amdmi3@FreeBSD.org Assignee: danfe@FreeBSD.org Flags: maintainer-feedback?(danfe@FreeBSD.org) Created attachment 150453 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150453&action=edit Fix --- /wrkdirs/usr/ports/games/openttd/work/openttd-1.4.4/src/fontcache.cpp:530:15: error: no matching function for call to 'max' int width = max(1, slot->bitmap.width + (this->fs == FS_NORMAL)); ^~~ /wrkdirs/usr/ports/games/openttd/work/openttd-1.4.4/src/core/math_func.hpp:38:17: note: candidate template ignored: deduced conflicting types for parameter 'T' ('int' vs. 'unsigned int') static inline T max(const T a, const T b) ^ /wrkdirs/usr/ports/games/openttd/work/openttd-1.4.4/src/fontcache.cpp:531:15: error: no matching function for call to 'max' int height = max(1, slot->bitmap.rows + (this->fs == FS_NORMAL)); ^~~ /wrkdirs/usr/ports/games/openttd/work/openttd-1.4.4/src/core/math_func.hpp:38:17: note: candidate template ignored: deduced conflicting types for parameter 'T' ('int' vs. 'unsigned int') static inline T max(const T a, const T b) ^ --- Fix attached. If you commit this yourself, don't forget to MFH. --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer danfe@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195869-13>