diff options
author | Sam James <sam@gentoo.org> | 2021-05-11 18:04:03 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-11 18:04:22 +0000 |
commit | 7d45246c2905a9a24582fe73ab02075b82a4b9a4 (patch) | |
tree | 7f2eccc7366ffe8e972cf1a727e9182931debc4e /media-video/webcamoid | |
parent | net-misc/remmina: drop old (some broken) versions (diff) | |
download | gentoo-7d45246c2905a9a24582fe73ab02075b82a4b9a4.tar.gz gentoo-7d45246c2905a9a24582fe73ab02075b82a4b9a4.tar.bz2 gentoo-7d45246c2905a9a24582fe73ab02075b82a4b9a4.zip |
media-video/webcamoid: fix gcc 11 build
Closes: https://bugs.gentoo.org/788025
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/webcamoid')
-rw-r--r-- | media-video/webcamoid/files/webcamoid-8.7.1-gcc11.patch | 12 | ||||
-rw-r--r-- | media-video/webcamoid/webcamoid-8.7.1.ebuild | 6 |
2 files changed, 17 insertions, 1 deletions
diff --git a/media-video/webcamoid/files/webcamoid-8.7.1-gcc11.patch b/media-video/webcamoid/files/webcamoid-8.7.1-gcc11.patch new file mode 100644 index 000000000000..d228210a19ee --- /dev/null +++ b/media-video/webcamoid/files/webcamoid-8.7.1-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp b/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp +index 2a32732..5175d1d 100644 +--- a/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp ++++ b/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp +@@ -19,6 +19,7 @@ + + #include <map> + #include <algorithm> ++#include <limits> + + #include "videoformat.h" + #include "../utils.h" diff --git a/media-video/webcamoid/webcamoid-8.7.1.ebuild b/media-video/webcamoid/webcamoid-8.7.1.ebuild index e2492b146025..eb5217846b13 100644 --- a/media-video/webcamoid/webcamoid-8.7.1.ebuild +++ b/media-video/webcamoid/webcamoid-8.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,6 +44,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-8.7.1-gcc11.patch +) + src_configure() { local myqmakeargs=( "CONFIG+=debug" |