diff options
| author | brahmajit das <listout@protonmail.com> | 2022-08-10 16:07:58 +0530 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2022-08-12 19:39:43 +0100 |
| commit | 4ad0d9de826a89b6ff0dec451e73bbeecd93e4a8 (patch) | |
| tree | 3e1e7fcce1f6dff60838a9a4c4bca9854130b333 /dev-cpp/opentelemetry-cpp/files/opentelemetry-cpp-1.3.0-tests.patch | |
| parent | e0795c0136a90064bbd1e59f376556053ae40545 (diff) | |
| download | gentoo-4ad0d9de826a89b6ff0dec451e73bbeecd93e4a8.tar.gz gentoo-4ad0d9de826a89b6ff0dec451e73bbeecd93e4a8.tar.bz2 gentoo-4ad0d9de826a89b6ff0dec451e73bbeecd93e4a8.zip | |
dev-cpp/folly: Fix musl build
Fixes "ELFCLASSFOLLY_ELF_NATIVE_CLASS was not declared in this scope".
Elf.cpp expects __ELF_NATIVE_CLASS to be defined at least for platforms
besides FreeBSD-based ones, and so it defines FOLLY_ELF_NATIVE_CLASS
with it. Without __ELF_NATIVE_CLASS (and apparently musl does not define
it), FOLLY_ELF_NATIVE_CLASS is also not defined so what was supposed to
be expanded to ELFCLASS32 or ELFCLASS64 ends up being
ELFCLASSFOLLY_ELF_NATIVE_CLASS.
Please refer: https://github.com/facebook/folly/issues/1478#issuecomment-719883898
Closes: https://bugs.gentoo.org/835744
Signed-off-by: brahmajit das <listout@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26807
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/opentelemetry-cpp/files/opentelemetry-cpp-1.3.0-tests.patch')
0 files changed, 0 insertions, 0 deletions
