media-libs/zimg: tweak for gcc-10, bug #721676
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 9 May 2020 09:36:19 +0000 (10:36 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 9 May 2020 09:36:33 +0000 (10:36 +0100)
commit7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b
treeaeeba8f0cc891e42742acf1ac29480728b7da161
parente84a98f13eb703606080062aac28892da94fced6
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>
media-libs/zimg/files/zimg-2.9.2-gcc-10.patch [new file with mode: 0644]
media-libs/zimg/zimg-2.9.2.ebuild