Bug 277046 - digiKam doesn't build with libpgf-6.11.24
Summary: digiKam doesn't build with libpgf-6.11.24
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 1.9.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 07:29 UTC by Andreas K. Huettel
Modified: 2017-12-16 14:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.0
Sentry Crash Report:


Attachments
full patch for digikam-1.9 (3.38 KB, patch)
2011-07-05 11:42 UTC, Andreas K. Huettel
Details

Note You need to log in before you can comment on or make changes to this bug.
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