Created attachment 502748 [details] ebuild Greetings I noticed the FIM version on Gentoo is quite old and decided to see if I could compile fim-0.5_rc3 with: Poppler 0.57.0 Libexif 0.6.21-r1 gcc x86_64-pc-linux-gnu-6.4.0 I only ran into to two small issues so I thought I would pass this info along. The first was in FbiStuffJpeg.cpp around line 182 the line "nsp->setVariable(string("EXIF_") + title,value);" Would cause an error: "FbiStuffJpeg.cpp:182:36: error: ambiguous overload for ‘operator+’ (operand types are ‘fim::string’ and ‘const fim_char_t* {ak a const char*}’) nsp->setVariable(string("EXIF_") + title,value);" The second was in FbiStuffPdf.cpp: In function ‘void* fim::pdf_init(FILE*, const fim_char_t*, unsigned int, fim::ida_image_info*, int)’: FbiStuffPdf.cpp:202:116: error: no matching function for call to ‘SplashOutputDev::SplashOutputDev(SplashColorMode&, int, bool , Guchar*&, GBool&, bool)’ ds->od = new SplashOutputDev(gSplashColorMode, /*4*/3, gFalse, gBgColor, bitmapTopDown,gFalse/*antialias*/); I can confirm if I comment out those lines the compilation succeeds, and FIM works on x86_64. Hope this saves someone some time. Cheers
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeded3688ae9bda56646423b6993965d128a17b0 commit aeded3688ae9bda56646423b6993965d128a17b0 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2018-03-24 15:29:43 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2018-03-24 15:31:47 +0000 media-gfx/fim: version bump to 0.5_rc3 Add graphics as another maintainer. Closes: https://bugs.gentoo.org/636656 media-gfx/fim/Manifest | 1 + media-gfx/fim/files/fim-0.5_rc3-jpeg.patch | 13 ++++ media-gfx/fim/files/fim-0.5_rc3-libsdl.patch | 27 +++++++ media-gfx/fim/fim-0.5_rc3.ebuild | 105 +++++++++++++++++++++++++++ media-gfx/fim/metadata.xml | 24 +++--- 5 files changed, 161 insertions(+), 9 deletions(-)