Debian Patches

Status for yaml-cpp/0.7.0+dfsg-8

Patch Description Author Forwarded Bugs Origin Last update
symbol-visibility.patch commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7

Export only YAML_CPP_API-tagged symbols on Linux.

This marks classes tagged with YAML_CPP_API with visibility("default"), to
explicitly export them, and then makes the default visibility "hidden" via
-fvisibility=hidden.

This reduces the number of exported symbols by more than 50%, which has
a small application start-up time and memory useage benefit. It also
makes it more feasible to audit the set of exported symbols in automated
ABI compatibility systems.
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> no 2018-11-23
fix-pkg-config.patch fix pkg-config file and cmake one Gianfranco Costamagna <locutusofborg@debian.org> not-needed 2020-05-26
export-m_amount.patch [PATCH] Export YAML::detail::node::m_amount
The internal header node/detail/node.h is included by public headers;
YAML::detail::node is implemented in the header itself, and thus it gets
inlined... except for its static m_amount class member, which is
instantiated in the library only. Right now all the symbols of yaml-cpp
are exported (nothing is hidden), so the linker will find node::m_amount
in the yaml-cpp library.

As solution/workaround, explicitly export YAML::detail::node::m_amount.
Pino Toscano <toscano.pino@tiscali.it> no 2021-04-18
use-archive-googletest.patch Use the googletest provided by the archive instead of the embedded copy
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 5ebc1a6b3..34be1fefe 100644
Simon Quigley <tsimonq2@debian.org> yes 2021-09-24
cmake_set_libraries.patch Fix empty YAML_CPP_LIBRARIES The new version does not set EXPORT_TARGETS. As the value should be yaml-cpp
anyhow, just set it directly.
Jochen Sprickerhof <jspricke@debian.org> yes debian upstream 2021-11-13

All known versions for source package 'yaml-cpp'

Links