Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479774 - =x11-libs/fltk-1.3.2 with media-libs/jpeg-9-r1 - Fl_JPEG_Image.cxx:158:29: error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]
Summary: =x11-libs/fltk-1.3.2 with media-libs/jpeg-9-r1 - Fl_JPEG_Image.cxx:158:29: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL: http://www.fltk.org/str.php?L2920
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: jpeg-9
  Show dependency tree
 
Reported: 2013-08-05 01:56 UTC by Rada
Modified: 2014-08-21 11:25 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,98.87 KB, text/x-log)
2013-08-09 09:31 UTC, Kobboi
Details
fltk-1.3.2-jpeg9.patch (fltk-1.3.2-jpeg9.patch,636 bytes, patch)
2014-08-19 15:22 UTC, Gabriel Marcano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rada 2013-08-05 01:56:02 UTC
JPEG-9 changed some things from JPEG-8c. The patch to fix the emerge of FLTK is available at http://www.fltk.org/str.php?L2920

Reproducible: Always
Comment 1 Kobboi 2013-08-07 17:12:32 UTC
Hitting the same issue, fix works for me.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:39:17 UTC
jpeg-9 is known to be broken, if you can still reproduce the bug with jpeg-9-r1, reopen the bug with complete build.log

*** This bug has been marked as a duplicate of bug 479808 ***
Comment 3 Kobboi 2013-08-09 09:31:39 UTC
Created attachment 355468 [details]
build.log

Still there with media-libs/jpeg-9-r1 (never had 9 on my system actually)
Comment 4 Rada 2013-08-09 15:18:00 UTC
Yes, fltk-1.3.2 still fails to build with jpeg-9-r1.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 10:15:11 UTC
And jpeg-9a? Same?
Comment 6 Gabriel Marcano 2014-08-19 15:22:13 UTC
Created attachment 383128 [details, diff]
fltk-1.3.2-jpeg9.patch

Yes, fltk fails to compile against jpeg-9a. It seems that the line numbers in fltk have changed a small amount from the ones in the fltk bug report in the opening description. I'm attaching my own version of the patch (identical, just with the fixed line numbers). This one allowed for fltk-1.3.2_p10088 to compile against jpeg-9a. It also doesn't cause any problems when compiling against libjpeg-turbo-1.3.1.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-08-21 11:25:45 UTC
patch applied to portage in 1.3.2_p10000'ish