diff options
author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-08-26 15:39:58 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-26 21:50:26 +0100 |
commit | e3a0d61649d20884c6afc94588a8e7c58462b55e (patch) | |
tree | 3278cce9e40d2bd35feb75ce67b81ff8bfcb94fa /media-libs/netpbm | |
parent | dev-python/pygccxml: Fix tests (diff) | |
download | gentoo-e3a0d61649d20884c6afc94588a8e7c58462b55e.tar.gz gentoo-e3a0d61649d20884c6afc94588a8e7c58462b55e.tar.bz2 gentoo-e3a0d61649d20884c6afc94588a8e7c58462b55e.zip |
media-libs/x265: allow building with c++17, small ebuild fixes
The new x265-3.5-r5-cpp-std.patch disabled setting c++98 or c++11 as versions.
This made newer compilers default to c++17 and thus `register` a unused and
reserved keyword.
While on it fix some obvious things that might cause problems:
one shadowed variable
use std::abs in place of abs so we don't accidentally truncate values
use boolean instead of bitwise comparison when comparing bool
Move ENABLE_CLI=OFF for non native multilib builds to make it clearer.
Don't set ENABLE_TESTS=no on platforms where we set ENABLE_ASSEMBLY=OFF, because
it requires it to be ON and this the option is never created.
Closes: https://bugs.gentoo.org/938515
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38289
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/netpbm')
0 files changed, 0 insertions, 0 deletions