diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-09 10:36:19 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-09 10:36:33 +0100 |
commit | 7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b (patch) | |
tree | aeeba8f0cc891e42742acf1ac29480728b7da161 /media-libs/zimg/zimg-2.9.2.ebuild | |
parent | dev-vcs/mercurial: bumps to 5.4 (diff) | |
download | gentoo-7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b.tar.gz gentoo-7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b.tar.bz2 gentoo-7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b.zip |
media-libs/zimg: tweak for gcc-10, bug #721676
The build fails as:
```
src/zimg/colorspace/matrix3.cpp:20:7:
error: 'size_t' was not declared in this scope; did you mean 'std::size_t'?
20 | for (size_t i = 0; i < 3; ++i) {
| ^~~~~~
| std::size_t
```
Direct backport of upstream 9ae36d7d5f74 ("Update matrix3.cpp")
which adds missing <cstddef> include needed for 'size_t'.
Reported-by: Patrick McLean
Closes: https://bugs.gentoo.org/721676
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'media-libs/zimg/zimg-2.9.2.ebuild')
-rw-r--r-- | media-libs/zimg/zimg-2.9.2.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media-libs/zimg/zimg-2.9.2.ebuild b/media-libs/zimg/zimg-2.9.2.ebuild index c1295123848e..e962d7a4b5f7 100644 --- a/media-libs/zimg/zimg-2.9.2.ebuild +++ b/media-libs/zimg/zimg-2.9.2.ebuild @@ -20,6 +20,8 @@ LICENSE="WTFPL-2" SLOT="0" IUSE="cpu_flags_x86_sse debug static-libs" +PATCHES=("${FILESDIR}"/${PN}-2.9.2-gcc-10.patch) + src_prepare() { default eautoreconf |