Bug 277046

Summary: digiKam doesn't build with libpgf-6.11.24
Product: [Applications] digikam Reporter: Andreas K. Huettel <dilfridge>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.9.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.8.0
Attachments: full patch for digikam-1.9

Description Andreas K. Huettel 2011-07-04 07:29:35 UTC
Sorry to bother you again... here we have the reverse problem, any chance of a small patch for 1.9?

/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp:
In member function ‘virtual bool Digikam::PGFLoader::save(const QString&,
Digikam::DImgLoaderObserver*)’:                                                 
/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp:438:70:
error: no matching function for call to ‘CPGFImage::Write(CPGFFileStream*, int,
bool (&)(double, bool, void*), UINT32*, Digikam::PGFLoader* const)’             
/usr/include/libpgf/PGFimage.h:209:7: note: candidates are: void
CPGFImage::Write(CPGFStream*, UINT32*, bool (*)(double, bool, void*), void*)    
/usr/include/libpgf/PGFimage.h:236:9: note:                 UINT32
CPGFImage::Write(int, bool (*)(double, bool, void*), void*)
Comment 2 Andreas K. Huettel 2011-07-04 09:52:15 UTC
Thanks Gilles, that's all I needed and wanted! :)
Comment 3 Andreas K. Huettel 2011-07-05 11:42:46 UTC
Created attachment 61619 [details]
full patch for digikam-1.9

Just for reference, here's the full patch to make digikam-1.9 compile on both libpgf versions.
Comment 4 caulier.gilles 2017-12-16 14:03:09 UTC
This problem is not reproducible using current 5.8.0 pre-release bundle
available here :

https://files.kde.org/digikam/

I close this file now. Re-open it if necessary.

Gilles Caulier