summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@booking.com>2020-05-08 23:49:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-10 13:31:19 +0200
commit0852935daf941052fb1160f394f8ed03cde749af (patch)
tree7d653d6b847d1f0ab0793bac90c9addee7f9399e /media-gfx/iscan
parentnet-misc/smb4k: Drop 3.0.3 (diff)
downloadgentoo-0852935daf941052fb1160f394f8ed03cde749af.tar.gz
gentoo-0852935daf941052fb1160f394f8ed03cde749af.tar.bz2
gentoo-0852935daf941052fb1160f394f8ed03cde749af.zip
media-gfx/iscan: fix building with gcc 10
Closes: https://bugs.gentoo.org/721812 Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net> Closes: https://github.com/gentoo/gentoo/pull/15718 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/iscan')
-rw-r--r--media-gfx/iscan/files/iscan-3.62.0-gcc-10.patch20
-rw-r--r--media-gfx/iscan/iscan-3.62.0.ebuild1
2 files changed, 21 insertions, 0 deletions
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 <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 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() {