https://bugs.kde.org/show_bug.cgi?id=501604
Bug ID: 501604 Summary: 8.6.0 compilation error in QtAVPlayer/qavstream.cpp Classification: Applications Product: digikam Version: 8.6.0 Platform: NetBSD pkgsrc OS: NetBSD Status: REPORTED Severity: major Priority: NOR Component: Preview-Video Assignee: digikam-bugs-n...@kde.org Reporter: w...@gatalith.at Target Milestone: --- Created attachment 179478 --> https://bugs.kde.org/attachment.cgi?id=179478&action=edit Patch fixing the problem. I'm currently updating the pkgsrc package for digiKam from 8.5.0 to 8.6.0, and see one new compilation error on NetBSD 10.99.12/x86_64 with gcc 12.4.0: ``` digikam-8.6.0/core/libs/video/QtAVPlayer/qavstream.cpp: In function 'int streamRotation(const AVStream*)': digikam-8.6.0/core/libs/video/QtAVPlayer/qavstream.cpp:100:43: error: 'round' is not a member of 'std' 100 | auto rotation = static_cast<int>(std::round(av_display_rotation_get(reinterpret_cast<const int32_t *>(sideData)))); | ^~~~~ ``` The attached patch (removing `std::`) fixes the problem for me. (I'm sorry if I picked the wrong Component, but I think there are too many to select from in the small selection box.) -- You are receiving this mail because: You are watching all bug changes.