commit: 386cd1e2e217272b50e11c26b9fb2ab8b1754778 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jul 12 17:14:04 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jul 12 17:14:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386cd1e2
media-gfx/luminance-hdr: fix build w/ boost-1.85 Closes: https://bugs.gentoo.org/932335 Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/luminance-hdr-2.6.1.1-boost-1.85.patch | 12 ++++++++++++ media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild | 1 + 2 files changed, 13 insertions(+) diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.6.1.1-boost-1.85.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.6.1.1-boost-1.85.patch new file mode 100644 index 000000000000..7a49dc80b66b --- /dev/null +++ b/media-gfx/luminance-hdr/files/luminance-hdr-2.6.1.1-boost-1.85.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/932335 +https://github.com/LuminanceHDR/LuminanceHDR/issues/283#issuecomment-2132239165 +--- a/src/Libpfs/manip/resize.hxx ++++ b/src/Libpfs/manip/resize.hxx +@@ -23,6 +23,7 @@ + #define PFS_RESIZE_HXX + + #include <boost/math/constants/constants.hpp> ++#include <boost/numeric/conversion/bounds.hpp> + #include "copy.h" + #include "resize.h" + #include "../../sleef.c" diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild index c3db9e692f75..654ceee61524 100644 --- a/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild +++ b/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.0-no-git.patch "${FILESDIR}"/${PN}-2.6.0-docs.patch "${FILESDIR}"/${PN}-2.5.1-openmp-automagic.patch + "${FILESDIR}"/${PN}-2.6.1.1-boost-1.85.patch # patch by ArchLinux "${FILESDIR}"/${P}-exiv2-0.28.patch )
