commit:     0852935daf941052fb1160f394f8ed03cde749af
Author:     Marcin Deranek <marcin.deranek <AT> booking <DOT> com>
AuthorDate: Fri May  8 21:49:21 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 10 11:31:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0852935d

media-gfx/iscan: fix building with gcc 10

Closes: https://bugs.gentoo.org/721812
Signed-off-by: Marcin Deranek <marcin.deranek <AT> slonko.net>
Closes: https://github.com/gentoo/gentoo/pull/15718
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/iscan/files/iscan-3.62.0-gcc-10.patch | 20 ++++++++++++++++++++
 media-gfx/iscan/iscan-3.62.0.ebuild             |  1 +
 2 files changed, 21 insertions(+)

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 00000000000..4f8c63c7353
--- /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 <iosfwd>
+ #include <string>
++#include <iostream>
+ 
+ #include <boost/operators.hpp>
+ 
+--- 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 <iosfwd>
++#include <iostream>
+ #include <boost/operators.hpp>
+ 
+ namespace utsushi {

diff --git a/media-gfx/iscan/iscan-3.62.0.ebuild 
b/media-gfx/iscan/iscan-3.62.0.ebuild
index 2a2c97d1512..f5957958df9 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() {

Reply via email to