Package: yaml-cpp / 0.7.0+dfsg-8

Metadata

Package Version Patches format
yaml-cpp 0.7.0+dfsg-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
symbol visibility.patch | (download)

CMakeLists.txt | 8 8 + 0 - 0 !
include/yaml-cpp/dll.h | 4 4 + 0 - 0 !
2 files changed, 12 insertions(+)

---
fix pkg config.patch | (download)

CMakeLists.txt | 6 3 + 3 - 0 !
yaml-cpp-config.cmake.in | 2 1 + 1 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 fix pkg-config file and cmake one
export m_amount.patch | (download)

src/node_data.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [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.

use archive googletest.patch | (download)

test/CMakeLists.txt | 17 12 + 5 - 0 !
1 file changed, 12 insertions(+), 5 deletions(-)

 use the googletest provided by the archive instead of the embedded copy
cmake_set_libraries.patch | (download)

yaml-cpp-config.cmake.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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.