Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674958 - x11-wm/icewm-1.5.x: compilation failure with USE="-truetype"
Summary: x11-wm/icewm-1.5.x: compilation failure with USE="-truetype"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-09 10:25 UTC by Hanno Böck
Modified: 2019-06-17 15:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2019-01-09 10:25:41 UTC
Compilation fails with errors like this:

ypaint.cc: In member function ‘void Graphics::drawStringEllipsis(int, int, const char*, int)’:
ypaint.cc:269:24: error: ‘mblen’ was not declared in this scope
         if (multiByte) mblen(NULL, 0);
                        ^~~~~
(and more of the same kind)

The problem is that ypaint.cc uses the mblen function, but doesn't include the right header (cstdlib). Reported to upstream as well:
https://github.com/bbidulock/icewm/issues/329
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-06-17 15:31:04 UTC
Is this still an issue with latest icewm release?
Comment 2 Hanno Böck gentoo-dev 2019-06-17 15:43:01 UTC
Seems fixed in 1.5.5, this fix got committed upstream:
https://github.com/bbidulock/icewm/commit/e79cf7a3f0c89f10c507478695fdcde587bdf1eb