summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2020-07-23 19:20:35 +0200
committerAlfredo Tupone <tupone@gentoo.org>2020-07-23 19:20:35 +0200
commit954ac8189027048023fb01e319d81ddf0533b7a9 (patch)
tree84eedbac070c55599f1b0d43b9567b822c8f4178 /media-gfx
parentsys-devel/kgcc64: drop old (diff)
downloadgentoo-954ac8189027048023fb01e319d81ddf0533b7a9.tar.gz
gentoo-954ac8189027048023fb01e319d81ddf0533b7a9.tar.bz2
gentoo-954ac8189027048023fb01e319d81ddf0533b7a9.zip
media-gfx/exact-image: fix calling g++ directly
Closes: https://bugs.gentoo.org/730778 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/exact-image/exact-image-1.0.2.ebuild1
-rw-r--r--media-gfx/exact-image/files/exact-image-1.0.2-g++.patch22
2 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/exact-image/exact-image-1.0.2.ebuild b/media-gfx/exact-image/exact-image-1.0.2.ebuild
index 7e5d51787a4d..0cea0d26cf53 100644
--- a/media-gfx/exact-image/exact-image-1.0.2.ebuild
+++ b/media-gfx/exact-image/exact-image-1.0.2.ebuild
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}"/${P}-gcc6.patch
+ "${FILESDIR}"/${P}-g++.patch
)
src_prepare() {
diff --git a/media-gfx/exact-image/files/exact-image-1.0.2-g++.patch b/media-gfx/exact-image/files/exact-image-1.0.2-g++.patch
new file mode 100644
index 000000000000..29370eaa9aba
--- /dev/null
+++ b/media-gfx/exact-image/files/exact-image-1.0.2-g++.patch
@@ -0,0 +1,22 @@
+--- a/configure 2020-07-23 19:16:47.199283125 +0200
++++ b/configure 2020-07-23 19:17:01.229075367 +0200
+@@ -19,19 +19,6 @@
+
+ parse_options $*
+
+-compile c++ available.c ||
+- status_error "A C++ compiler is not installed or does not work correctly.
+-A C++ compiler is vital for exact-image - so you need to install it first."
+-
+-compile c++ stl.c template.c template-specialization.c \
+- partial-template-specialization.c function-template.c \
+- || status_error \
+- "At least one of the advanced ANSI C++ tests failed. Since these
+-features are vital for exact-image you need to update to a more recent compiler first."
+-
+-headercheck c++ iostream string iostream sstream fstream ||
+- status_error "Not all tested STL headers are present - please install them."
+-
+ pkgcheck x11 compile X11 atleast 11.0
+ pkgcheck libagg pkg-config LIBAGG atleast 2.3 ||
+ status_error "Anti-Grain Geometry was not found, since it is vital