From 0852935daf941052fb1160f394f8ed03cde749af Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Fri, 8 May 2020 23:49:21 +0200 Subject: [PATCH] media-gfx/iscan: fix building with gcc 10 Closes: https://bugs.gentoo.org/721812 Signed-off-by: Marcin Deranek Closes: https://github.com/gentoo/gentoo/pull/15718 Signed-off-by: Andreas Sturmlechner --- .../iscan/files/iscan-3.62.0-gcc-10.patch | 20 +++++++++++++++++++ media-gfx/iscan/iscan-3.62.0.ebuild | 1 + 2 files changed, 21 insertions(+) create mode 100644 media-gfx/iscan/files/iscan-3.62.0-gcc-10.patch diff --git a/media-gfx/iscan/files/iscan-3.62.0-gcc-10.patch b/media-gfx/iscan/files/iscan-3.62.0-gcc-10.patch new file mode 100644 index 000000000000..4f8c63c7353b --- /dev/null +++ b/media-gfx/iscan/files/iscan-3.62.0-gcc-10.patch @@ -0,0 +1,20 @@ +--- a/utsushi/string.hpp 2020-05-08 23:20:11.642359134 +0200 ++++ b/utsushi/string.hpp 2020-05-08 23:20:21.834246187 +0200 +@@ -23,6 +23,7 @@ + + #include + #include ++#include + + #include + +--- a/utsushi/toggle.hpp 2019-11-18 03:08:06.000000000 +0100 ++++ b/utsushi/toggle.hpp 2020-05-08 23:23:40.284045167 +0200 +@@ -22,6 +22,7 @@ + #define utsushi_toggle_hpp_ + + #include ++#include + #include + + namespace utsushi { diff --git a/media-gfx/iscan/iscan-3.62.0.ebuild b/media-gfx/iscan/iscan-3.62.0.ebuild index 2a2c97d15125..f5957958df9a 100644 --- a/media-gfx/iscan/iscan-3.62.0.ebuild +++ b/media-gfx/iscan/iscan-3.62.0.ebuild @@ -32,6 +32,7 @@ S="${WORKDIR}/utsushi-0.$(ver_cut 2-3)" PATCHES=( "${FILESDIR}"/${PN}-3.61.0-ijg-libjpeg.patch "${FILESDIR}"/${PN}-3.61.0-imagemagick-7.patch + "${FILESDIR}"/${PN}-3.62.0-gcc-10.patch ) src_prepare() { -- 2.26.2