diff options
author | Sam James <sam@gentoo.org> | 2022-04-21 19:26:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-21 19:49:31 +0100 |
commit | d4c7383ea2a0a480b86ddeee835d7cf7a5b127c6 (patch) | |
tree | 1f42aeb1bbe7355bc232c15c6d501272bace7e51 /media-video/movit | |
parent | media-libs/alsa-lib: Stabilize 1.2.6.1 ppc, #838145 (diff) | |
download | gentoo-d4c7383ea2a0a480b86ddeee835d7cf7a5b127c6.tar.gz gentoo-d4c7383ea2a0a480b86ddeee835d7cf7a5b127c6.tar.bz2 gentoo-d4c7383ea2a0a480b86ddeee835d7cf7a5b127c6.zip |
media-video/movit: fix build with GCC 12
Closes: https://bugs.gentoo.org/839915
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/movit')
-rw-r--r-- | media-video/movit/files/movit-1.6.3-gcc12.patch | 12 | ||||
-rw-r--r-- | media-video/movit/movit-1.6.3.ebuild | 9 |
2 files changed, 18 insertions, 3 deletions
diff --git a/media-video/movit/files/movit-1.6.3-gcc12.patch b/media-video/movit/files/movit-1.6.3-gcc12.patch new file mode 100644 index 000000000000..00b9e9203b11 --- /dev/null +++ b/media-video/movit/files/movit-1.6.3-gcc12.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/839915 + +--- a/test_util.cpp ++++ b/test_util.cpp +@@ -2,6 +2,7 @@ + #include <math.h> + #include <stdio.h> + #include <algorithm> ++#include <memory> + #include <epoxy/gl.h> + #include <gtest/gtest.h> + #include <gtest/gtest-message.h> diff --git a/media-video/movit/movit-1.6.3.ebuild b/media-video/movit/movit-1.6.3.ebuild index a083a1dd4b0f..bc9144f4e5d9 100644 --- a/media-video/movit/movit-1.6.3.ebuild +++ b/media-video/movit/movit-1.6.3.ebuild @@ -21,12 +21,15 @@ RESTRICT="test" RDEPEND="media-libs/mesa[X(+)] >=dev-cpp/eigen-3.2.0:3 media-libs/libepoxy[egl] - >=sci-libs/fftw-3 - media-libs/libsdl2 - " + >=sci-libs/fftw-3:= + media-libs/libsdl2" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-1.6.3-gcc12.patch +) + src_compile() { GTEST_DIR="${WORKDIR}/googletest-release-${GTEST_PV}/googletest" emake } |