Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 674958

Summary: x11-wm/icewm-1.5.x: compilation failure with USE="-truetype"
Product: Gentoo Linux Reporter: Hanno Böck <hanno>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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