[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2023-11-13 Thread Arthur Zamarin
commit: 4f0d5d64e61aece2c243ac0dcd01ae8a4a3ca415
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 13 10:19:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 13 10:19:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0d5d64

dev-cpp/yaml-cpp: Stabilize 0.8.0 arm64, #917223

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index 42d37f1f237a..dc3a8a58c33c 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/0.8"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2023-11-13 Thread Arthur Zamarin
commit: a28ddef4ca8e43d08417ed05ad0715dc71b1b718
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 13 10:18:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 13 10:18:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28ddef4

dev-cpp/yaml-cpp: Stabilize 0.8.0 ppc64, #917223

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index 7ac834dacf6e..42d37f1f237a 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/0.8"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2023-11-13 Thread Arthur Zamarin
commit: 44d49d72039b390b0f28f70581d8ecded9db3f6d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 13 10:18:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 13 10:18:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d49d72

dev-cpp/yaml-cpp: Stabilize 0.8.0 ppc, #917223

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index 3c11b51f1f10..7ac834dacf6e 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/0.8"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2023-11-13 Thread Arthur Zamarin
commit: d0123068321625c68be5c1c2a1010408eae388af
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Nov 12 11:00:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 13 10:17:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0123068

dev-cpp/yaml-cpp: fix test build

Closes: https://bugs.gentoo.org/917243
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/33777
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch | 32 +++
 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild|  1 +
 2 files changed, 33 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch
new file mode 100644
index ..f024b797eb47
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch
@@ -0,0 +1,32 @@
+Fix test https://bugs.gentoo.org/917243
+
+From fcbb8193b94921e058be7b563aea053531e5b2d9 Mon Sep 17 00:00:00 2001
+From: Gianfranco Costamagna 
+Date: Sat, 19 Aug 2023 21:36:16 +0200
+Subject: [PATCH] Fix testsuite with gcc-13 (#1216)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+cd /<>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE 
-I/<>/test/integration -I/<>/test 
-I/<>/src -I/<>/include -isystem 
/usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock 
-isystem /usr/src/googletest/googletest/include -isystem 
/usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<>=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat 
-Werror=format-security 
-fdebug-prefix-map=/<>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros 
-Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT 
test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF 
CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o 
CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c 
/<>/test/binary_test.cpp
+/<>/test/binary_test.cpp: In member function ‘virtual void 
BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
+/<>/test/binary_test.cpp:11:38: error: narrowing conversion of 
‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
+   11 |   std::string input{-58, -1, -99, 109};
+  |  ^
+---
+ test/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 351b03f81..c9e7f041b 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -33,7 +33,7 @@ target_include_directories(yaml-cpp-tests
+ target_compile_options(yaml-cpp-tests
+   PRIVATE
+ $<$:-Wno-c99-extensions -Wno-variadic-macros 
-Wno-sign-compare>
+-$<$:-Wno-variadic-macros -Wno-sign-compare>)
++$<$:-Wno-variadic-macros -Wno-sign-compare 
-Wno-narrowing>)
+ target_link_libraries(yaml-cpp-tests
+   PRIVATE
+ Threads::Threads

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index ec6c6b7a8293..3c11b51f1f10 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -21,6 +21,7 @@ DEPEND="
 
 PATCHES=(
"${FILESDIR}/yaml-cpp-0.8.0-gtest.patch"
+   "${FILESDIR}/yaml-cpp-0.8.0-gcc13.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2023-11-11 Thread Arthur Zamarin
commit: 0ba9b295daa707bab545d9b70f29095116e7bf9e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Nov 12 05:56:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Nov 12 05:56:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba9b295

dev-cpp/yaml-cpp: Stabilize 0.8.0 amd64, #917223

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index 59637fe4a9d4..8c2441c61f7d 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/0.8"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2023-11-11 Thread Arthur Zamarin
commit: b7550558ee1e2ec62dbf5a4dfdf4ae7a33714aab
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Nov 12 05:56:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Nov 12 05:56:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7550558

dev-cpp/yaml-cpp: Stabilize 0.8.0 x86, #917223

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index 8c2441c61f7d..ec6c6b7a8293 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/0.8"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2023-11-11 Thread Sam James
commit: c3a37f52f417a8f58d5d9351aa5d3ed0865f08eb
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 12 02:33:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 12 02:33:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a37f52

dev-cpp/yaml-cpp: Stabilize 0.8.0 sparc, #917223

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
index 70652dfe4b3a..59637fe4a9d4 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/0.8"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2023-09-25 Thread Patrick McLean
commit: 4af59a28125a5a79949ca24e08430230e3eb38b8
Author: Patrick McLean  gentoo  org>
AuthorDate: Mon Sep 25 16:45:56 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon Sep 25 16:45:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4af59a28

dev-cpp/yaml-cpp: add 0.8.0

Signed-off-by: Patrick McLean  gentoo.org>

 dev-cpp/yaml-cpp/Manifest |  1 +
 dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch | 30 
 dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild| 34 +++
 3 files changed, 65 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index d18739367bdc..13de371c236a 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1,2 @@
 DIST yaml-cpp-0.7.0.tar.gz 1033237 BLAKE2B 
69a11a8503ad607aa0d54912a5e53d305a643fe2d36dd86fa96832e3d4930b39a85318dc130e438210a9ca60357f3aa9aa6cd0f2b6bc45728b648c545a437368
 SHA512 
2de0f0ec8f003cd3c498d571cda7a796bf220517bad2dc02cba70c522e398f33cf1ad20da251adaacb2a07b77844111f297e99d45a7c46ebc01706bbafb5
+DIST yaml-cpp-0.8.0.gh.tar.gz 1017151 BLAKE2B 
5fd3eaec06bc04215afd2aa14ae8cd35f829f700f104931a51dbd8bb22e4e87f5cd5f2f975d3a2f464226d7165d3d106aa17bc7eab8a812c2545d2212011cf11
 SHA512 
aae9d618f906117d620d63173e95572c738db518f4ff1901a06de2117d8deeb8045f554102ca0ba4735ac0c4d060153a938ef78da3e0da3406d27b8298e5f38e

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch
new file mode 100644
index ..5386f8ec7c2f
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch
@@ -0,0 +1,30 @@
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index c9e7f04..58973ea 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -1,15 +1,10 @@
+ find_package(Threads REQUIRED)
++find_package(GTest REQUIRED CONFIG)
+ 
+ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
+ set(BUILD_MOCK ON CACHE BOOL "" FORCE)
+ set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
+ 
+-add_subdirectory(
+-  "${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.11.0"
+-  "${CMAKE_CURRENT_BINARY_DIR}/prefix")
+-
+-include_directories(SYSTEM 
"${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.11.0/googletest/include")
+-
+ set(test-new-api-pattern "new-api/*.cpp")
+ set(test-source-pattern "*.cpp" "integration/*.cpp" "node/*.cpp")
+ if (CMAKE_VERSION VERSION_GREATER 3.11)
+@@ -38,7 +33,7 @@ target_link_libraries(yaml-cpp-tests
+   PRIVATE
+ Threads::Threads
+ yaml-cpp
+-gmock)
++GTest::gmock)
+ 
+ set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
+ if (NOT DEFINED CMAKE_CXX_STANDARD)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
new file mode 100644
index ..70652dfe4b3a
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/0.8"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
+"
+
+PATCHES=(
+   "${FILESDIR}/yaml-cpp-0.8.0-gtest.patch"
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/

2022-12-26 Thread Conrad Kostecki
commit: 1bc97eaaac711c1b113caca0d94ddbaaee911b70
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Dec 26 08:25:25 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 26 13:42:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc97eaa

dev-cpp/yaml-cpp: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28819
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch  | 21 -
 1 file changed, 21 deletions(-)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch
deleted file mode 100644
index 3e7bc7bae937..
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://bugs.gentoo.org/807745
-
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -148,13 +148,13 @@ if (YAML_CPP_INSTALL)
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
-   FILES_MATCHING PATTERN "*.h")
-   install(EXPORT yaml-cpp-targets
--DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
-+DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
-   install(FILES
-   "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
-   "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
--DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
-+DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
-   install(FILES "${PROJECT_BINARY_DIR}/yaml-cpp.pc"
--DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig)
-+DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
- endif()
- 
- if(YAML_CPP_BUILD_TESTS)



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Andreas Sturmlechner
commit: 7ae3d2ee0c1d977a606be43a3bc3531a08dfe9a8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec 25 23:25:45 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Dec 25 23:39:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae3d2ee

dev-cpp/yaml-cpp: drop 0.7.0-r1

Closes: https://bugs.gentoo.org/888425
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild | 40 ---
 1 file changed, 40 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
deleted file mode 100644
index 1f26291823b9..
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/yaml-cpp/archive/${P}.tar.gz;
-S="${WORKDIR}/yaml-cpp-${P}"
-
-LICENSE="MIT"
-SLOT="0/0.7"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-gtest.patch"
-   "${FILESDIR}/${P}-pkg-config.patch"
-)
-
-src_prepare() {
-   rm -r test/gtest-* || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DYAML_BUILD_SHARED_LIBS=ON
-   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
-   -DYAML_CPP_BUILD_TESTS=$(usex test)
-   )
-
-   cmake-multilib_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Sam James
commit: ab3aa3a673aad778b4084c3fc8cda2c52bf57aee
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 17:35:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 17:35:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3aa3a6

dev-cpp/yaml-cpp: Stabilize 0.7.0-r2 x86, #888425

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
index bdd5f1969e55..4336d4e6bbef 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Sam James
commit: d39a4a36bb8a1505075261daa3728b80ce0bd73b
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 17:35:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 17:35:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d39a4a36

dev-cpp/yaml-cpp: Stabilize 0.7.0-r2 amd64, #888425

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
index 4336d4e6bbef..91e20995e963 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Arthur Zamarin
commit: 4e0ea8862022626eaaec54ed61f1ea6012f0ae81
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 17:35:17 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 17:35:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0ea886

dev-cpp/yaml-cpp: Stabilize 0.7.0-r2 ppc64, #888425

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
index 23929959bad8..bdd5f1969e55 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Arthur Zamarin
commit: 289c547c373e1268c528283d33e5c6137354a856
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 17:28:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 17:28:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289c547c

dev-cpp/yaml-cpp: Stabilize 0.7.0-r2 ppc, #888425

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
index 9b9221e75ca6..5113ac10f48d 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Arthur Zamarin
commit: ab4089981fc392356b305eea5fc9705f155c978c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 17:28:53 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 17:28:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab408998

dev-cpp/yaml-cpp: Stabilize 0.7.0-r2 sparc, #888425

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
index 5113ac10f48d..23929959bad8 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2022-12-25 Thread Arthur Zamarin
commit: de0b25a110fb234b183704a6ec8aeef88d1005c3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 25 17:25:45 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 25 17:25:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0b25a1

dev-cpp/yaml-cpp: Stabilize 0.7.0-r2 arm64, #888425

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
index d24068005931..9b9221e75ca6 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2022-09-24 Thread Sam James
commit: 9614b28e55585a296741eeffd46952ec79223f13
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sat Sep 17 09:31:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 01:18:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9614b28e

dev-cpp/yaml-cpp: update EAPI 7 -> 8, fix installed .pc & CMake files

Closes: https://bugs.gentoo.org/867955
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27302
Signed-off-by: Sam James  gentoo.org>

 .../files/yaml-cpp-0.7.0-cmake-paths.patch | 101 +
 dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-gtest.patch  |  17 ++--
 .../files/yaml-cpp-0.7.0-install-paths.patch   |  25 +
 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r2.ebuild  |  35 +++
 4 files changed, 172 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-cmake-paths.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-cmake-paths.patch
new file mode 100644
index ..5ad9e46dbcb2
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-cmake-paths.patch
@@ -0,0 +1,101 @@
+From d5d68286cdd983f99f88b6141a3c34d3bf633d98 Mon Sep 17 00:00:00 2001
+From: Felix Schwitzer 
+Date: Fri, 1 Apr 2022 05:26:47 +0200
+Subject: [PATCH] Fix CMake export files (#1077)
+
+After configuring the file `yaml-cpp-config.cmake.in`, the result ends up with
+empty variables.  (see also the discussion in #774).
+
+Rework this file and the call to `configure_package_config_file` according the
+cmake documentation
+(https://cmake.org/cmake/help/v3.22/module/CMakePackageConfigHelpers.html?highlight=configure_package_config#command:configure_package_config_file)
+to overcome this issue and allow a simple `find_package` after install.
+
+As there was some discussion about the place where to install the
+`yaml-cpp-config.cmake` file, e.g. #1055, factor out the install location into
+an extra variable to make it easier changing this location in the future.
+
+Also untabify CMakeLists.txt in some places to align with the other code parts 
in this file.
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -127,10 +127,16 @@ set_target_properties(yaml-cpp PROPERTIES
+   PROJECT_LABEL "yaml-cpp ${yaml-cpp-label-postfix}"
+   DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
+ 
++# FIXME(felix2012): A more common place for the cmake export would be
++# `CMAKE_INSTALL_LIBDIR`, as e.g. done in ubuntu or in this project for GTest
++set(CONFIG_EXPORT_DIR "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++set(EXPORT_TARGETS yaml-cpp)
+ configure_package_config_file(
+   "${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in"
+   "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
+-  INSTALL_DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++  INSTALL_DESTINATION "${CONFIG_EXPORT_DIR}"
++  PATH_VARS CMAKE_INSTALL_INCLUDEDIR CONFIG_EXPORT_DIR)
++unset(EXPORT_TARGETS)
+ 
+ write_basic_package_version_file(
+   "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
+@@ -139,30 +145,31 @@ write_basic_package_version_file(
+ configure_file(yaml-cpp.pc.in yaml-cpp.pc @ONLY)
+ 
+ if (YAML_CPP_INSTALL)
+-  install(TARGETS yaml-cpp
++  install(TARGETS yaml-cpp
+ EXPORT yaml-cpp-targets
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+-  install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
++  install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+-  FILES_MATCHING PATTERN "*.h")
++FILES_MATCHING PATTERN "*.h")
+   install(EXPORT yaml-cpp-targets
+-DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
+-  install(FILES
+-  "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
+-  "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
+-DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++DESTINATION "${CONFIG_EXPORT_DIR}")
++  install(FILES
++  "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
++  "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
++DESTINATION "${CONFIG_EXPORT_DIR}")
+   install(FILES "${PROJECT_BINARY_DIR}/yaml-cpp.pc"
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig)
+ endif()
++unset(CONFIG_EXPORT_DIR)
+ 
+ if(YAML_CPP_BUILD_TESTS)
+-  add_subdirectory(test)
++  add_subdirectory(test)
+ endif()
+ 
+ if(YAML_CPP_BUILD_TOOLS)
+-  add_subdirectory(util)
++  add_subdirectory(util)
+ endif()
+ 
+ if (YAML_CPP_CLANG_FORMAT_EXE)
+--- a/yaml-cpp-config.cmake.in
 b/yaml-cpp-config.cmake.in
+@@ -3,12 +3,14 @@
+ #  YAML_CPP_INCLUDE_DIR - include directory
+ #  YAML_CPP_LIBRARIES- libraries to link against
+ 
+-# Compute paths
+-get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
+-set(YAML_CPP_INCLUDE_DIR "@CONFIG_INCLUDE_DIRS@")
++@PACKAGE_INIT@
++
++set_and_check(YAML_CPP_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
+ 
+ # Our library dependencies 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2022-08-19 Thread Andreas Sturmlechner
commit: 0d49a5b9a45d38855f22195dae1a776abb732a19
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Aug 14 21:03:01 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug 19 08:13:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d49a5b9

dev-cpp/yaml-cpp: drop 0.6.3-r3, 0.6.3-r4

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |   1 -
 .../files/yaml-cpp-0.6.3-CVE-2017-11692.patch  |  44 --
 .../files/yaml-cpp-0.6.3-abi-breakage.patch|  57 
 .../files/yaml-cpp-0.6.3-fix-overflows.patch   | 149 -
 dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-gtest.patch  |  44 --
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild  |  49 ---
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r4.ebuild  |  46 ---
 7 files changed, 390 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 88f602e7f4ee..d18739367bdc 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 
07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14
 SHA512 
68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49
 DIST yaml-cpp-0.7.0.tar.gz 1033237 BLAKE2B 
69a11a8503ad607aa0d54912a5e53d305a643fe2d36dd86fa96832e3d4930b39a85318dc130e438210a9ca60357f3aa9aa6cd0f2b6bc45728b648c545a437368
 SHA512 
2de0f0ec8f003cd3c498d571cda7a796bf220517bad2dc02cba70c522e398f33cf1ad20da251adaacb2a07b77844111f297e99d45a7c46ebc01706bbafb5

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch
deleted file mode 100644
index fd7a7198c1c6..
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From c9460110e072df84b7dee3eb651f2ec5df75fb18 Mon Sep 17 00:00:00 2001
-From: Jesse Beder 
-Date: Mon, 20 Jan 2020 18:05:15 -0600
-Subject: [PATCH] Fix reading empty token stack with a node with properties but
- no scalar.
-
-E.g. `!2`.

- src/singledocparser.cpp | 6 ++
- test/integration/load_node_test.cpp | 5 +
- 2 files changed, 11 insertions(+)
-
-diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
-index 52544dd6..47e9e047 100644
 a/src/singledocparser.cpp
-+++ b/src/singledocparser.cpp
-@@ -79,6 +79,12 @@ void SingleDocParser::HandleNode(EventHandler& 
eventHandler) {
-   if (!anchor_name.empty())
- eventHandler.OnAnchor(mark, anchor_name);
- 
-+  // after parsing properties, an empty node is again a possibility
-+  if (m_scanner.empty()) {
-+eventHandler.OnNull(mark, anchor);
-+return;
-+  }
-+
-   const Token& token = m_scanner.peek();
- 
-   if (token.type == Token::PLAIN_SCALAR && IsNullString(token.value)) {
-diff --git a/test/integration/load_node_test.cpp 
b/test/integration/load_node_test.cpp
-index 4f4f28e8..0e0dd6bc 100644
 a/test/integration/load_node_test.cpp
-+++ b/test/integration/load_node_test.cpp
-@@ -257,5 +257,10 @@ TEST(NodeTest, LoadTagWithParenthesis) {
- EXPECT_EQ(node.as(), "foo");
- }
- 
-+TEST(NodeTest, LoadTagWithNullScalar) {
-+  Node node = Load("!2");
-+  EXPECT_TRUE(node.IsNull());
-+}
-+
- }  // namespace
- }  // namespace YAML

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch
deleted file mode 100644
index d9160856c47f..
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-commit f5f288c7622d3547c29a8355b8ccda0155483b79
-Author: Till Hofmann 
-Date:   Sun Nov 17 22:43:20 2019 +0100
-
-Revert "fix up static, so works as DLL (#559)"
-
-This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.
-
-diff --git a/include/yaml-cpp/node/detail/node_data.h 
b/include/yaml-cpp/node/detail/node_data.h
-index 82fb79a..50bcd74 100644
 a/include/yaml-cpp/node/detail/node_data.h
-+++ b/include/yaml-cpp/node/detail/node_data.h
-@@ -81,7 +81,7 @@ class YAML_CPP_API node_data {
- shared_memory_holder pMemory);
- 
-  public:
--  static const std::string& empty_scalar();
-+  static std::string empty_scalar;
- 
-  private:
-   void compute_seq_size() const;
-diff --git a/include/yaml-cpp/node/impl.h b/include/yaml-cpp/node/impl.h
-index 7a3deac..b363f86 100644
 a/include/yaml-cpp/node/impl.h
-+++ b/include/yaml-cpp/node/impl.h
-@@ -166,13 +166,13 @@ inline T Node::as(const S& fallback) const {
- inline const std::string& Node::Scalar() const {
-   if (!m_isValid)
- throw InvalidNode(m_invalidKey);
--  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar();
-+  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar;
- }
- 
- inline const std::string& 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-10-16 Thread Sam James
commit: 0f232990a42ad3de9f10faadc6125b0ba6be53cd
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 17 00:13:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 00:13:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f232990

dev-cpp/yaml-cpp: Stabilize 0.7.0-r1 arm64, #813207

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
index aa6dcdf6eac..77f6bb3f5c1 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-09-17 Thread Agostino Sarubbo
commit: 67378fbde0c06018c7a866e372b5a3ab0d0ba9e9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 17 09:20:00 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 17 09:20:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67378fbd

dev-cpp/yaml-cpp: x86 stable wrt bug #813207

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
index 3aa4d5d5779..8c3ce6eda76 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-09-17 Thread Agostino Sarubbo
commit: 6fa3447eebb07b53eed83fc326c0080316173489
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 17 09:17:09 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 17 09:17:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa3447e

dev-cpp/yaml-cpp: amd64 stable wrt bug #813207

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
index e69a244a3fc..3aa4d5d5779 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-09-16 Thread Agostino Sarubbo
commit: d1032cc380b048e0dfa18af67cea45c6f8c32981
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 16 08:05:10 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 16 08:05:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1032cc3

dev-cpp/yaml-cpp: sparc stable wrt bug #813207

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
index fbe9606ac85..e69a244a3fc 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-09-16 Thread Agostino Sarubbo
commit: f15811071497931aa921bda8b3f7e5c1790ac1d9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 16 08:02:44 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 16 08:02:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1581107

dev-cpp/yaml-cpp: ppc64 stable wrt bug #813207

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
index dec50f0fe46..fbe9606ac85 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2021-08-16 Thread Joonas Niilola
commit: c813626ffa5a15c38562bcb793e4a107a66fe95f
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Wed Aug 11 22:47:34 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 16 06:58:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c813626f

dev-cpp/yaml-cpp: install cmake and .pc files to lib/

Closes: https://bugs.gentoo.org/807745
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/21953
Signed-off-by: Joonas Niilola  gentoo.org>

 .../yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch  | 21 +
 ...ml-cpp-0.7.0.ebuild => yaml-cpp-0.7.0-r1.ebuild} |  1 +
 2 files changed, 22 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch
new file mode 100644
index 000..3e7bc7bae93
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-pkg-config.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/807745
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -148,13 +148,13 @@ if (YAML_CPP_INSTALL)
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+   FILES_MATCHING PATTERN "*.h")
+   install(EXPORT yaml-cpp-targets
+-DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
+   install(FILES
+   "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
+   "${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
+-DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
++DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
+   install(FILES "${PROJECT_BINARY_DIR}/yaml-cpp.pc"
+-DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig)
++DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ endif()
+ 
+ if(YAML_CPP_BUILD_TESTS)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
similarity index 95%
rename from dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
rename to dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
index c35d82cd5f2..dec50f0fe46 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0-r1.ebuild
@@ -21,6 +21,7 @@ DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
 
 PATCHES=(
"${FILESDIR}/${P}-gtest.patch"
+   "${FILESDIR}/${P}-pkg-config.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-07-27 Thread Marek Szuba
commit: 3ba09380b79b6285f0cfc4e1e1d7cb7afafd4155
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 27 08:36:24 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Jul 27 10:59:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba09380

dev-cpp/yaml-cpp: keyword 0.7.0 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
index 0140ff9a122..c35d82cd5f2 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/yaml-cpp-${P}"
 
 LICENSE="MIT"
 SLOT="0/0.7"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2021-07-14 Thread Joonas Niilola
commit: d0a4cd046ad4bd19d294c9770ccc4eec47057683
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sat Jul 10 18:23:13 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul 14 14:32:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a4cd04

dev-cpp/yaml-cpp: version 0.7.0

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/21585
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/yaml-cpp/Manifest |  1 +
 dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-gtest.patch | 28 
 dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild| 40 +++
 3 files changed, 69 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 65c478502e0..88f602e7f4e 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1,2 @@
 DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 
07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14
 SHA512 
68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49
+DIST yaml-cpp-0.7.0.tar.gz 1033237 BLAKE2B 
69a11a8503ad607aa0d54912a5e53d305a643fe2d36dd86fa96832e3d4930b39a85318dc130e438210a9ca60357f3aa9aa6cd0f2b6bc45728b648c545a437368
 SHA512 
2de0f0ec8f003cd3c498d571cda7a796bf220517bad2dc02cba70c522e398f33cf1ad20da251adaacb2a07b77844111f297e99d45a7c46ebc01706bbafb5

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-gtest.patch
new file mode 100644
index 000..45eebb43ffe
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.7.0-gtest.patch
@@ -0,0 +1,28 @@
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 5ebc1a6..f02c2bb 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -1,13 +1,10 @@
+ find_package(Threads REQUIRED)
++find_package(GTest REQUIRED CONFIG)
+ 
+ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
+ set(BUILD_MOCK ON CACHE BOOL "" FORCE)
+ set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
+ 
+-add_subdirectory(
+-  "${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.10.0"
+-  "${CMAKE_CURRENT_BINARY_DIR}/prefix")
+-
+ include_directories(SYSTEM 
"${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.10.0/googletest/include")
+ 
+ set(test-new-api-pattern "new-api/*.cpp")
+@@ -38,7 +35,7 @@ target_link_libraries(yaml-cpp-tests
+   PRIVATE
+ Threads::Threads
+ yaml-cpp
+-gmock)
++GTest::gmock)
+ 
+ set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
+ if (NOT DEFINED CMAKE_CXX_STANDARD)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
new file mode 100644
index 000..0140ff9a122
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/yaml-cpp/archive/${P}.tar.gz;
+S="${WORKDIR}/yaml-cpp-${P}"
+
+LICENSE="MIT"
+SLOT="0/0.7"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
+
+PATCHES=(
+   "${FILESDIR}/${P}-gtest.patch"
+)
+
+src_prepare() {
+   rm -r test/gtest-* || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2021-06-17 Thread David Seifert
commit: 21325ae1b77011e74729382cedc4ab4e9ca63220
Author: Alexey Sokolov  google  com>
AuthorDate: Thu Jun 17 12:44:29 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jun 17 12:44:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21325ae1

dev-cpp/yaml-cpp: enable tests, take package

Closes: https://github.com/gentoo/gentoo/pull/21230
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: David Seifert  gentoo.org>

 dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-gtest.patch | 44 ++
 dev-cpp/yaml-cpp/metadata.xml |  9 -
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r4.ebuild | 46 +++
 3 files changed, 98 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-gtest.patch
new file mode 100644
index 000..51f2a7b563f
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-gtest.patch
@@ -0,0 +1,44 @@
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 0a669d5..bc8bbdd 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -7,22 +7,7 @@ if(MSVC)
+ set(CMAKE_STATIC_LIBRARY_PREFIX "")
+ endif()
+ 
+-ExternalProject_Add(
+-  googletest_project
+-  SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.8.0"
+-  INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/prefix"
+-  CMAKE_ARGS
+-  -DCMAKE_INSTALL_PREFIX:PATH=
+-  -DBUILD_GMOCK=ON
+-  -Dgtest_force_shared_crt=ON
+-)
+-
+-add_library(gmock UNKNOWN IMPORTED)
+-set_target_properties(gmock PROPERTIES
+-IMPORTED_LOCATION
+-
${PROJECT_BINARY_DIR}/test/prefix/lib/${CMAKE_STATIC_LIBRARY_PREFIX}gmock${CMAKE_STATIC_LIBRARY_SUFFIX}
+-)
+-
++find_package(GTest REQUIRED CONFIG)
+ find_package(Threads)
+ 
+ include_directories(SYSTEM "${PROJECT_BINARY_DIR}/test/prefix/include")
+@@ -56,14 +41,12 @@ set_target_properties(run-tests PROPERTIES
+ CXX_STANDARD_REQUIRED ON
+ )
+ 
+-add_dependencies(run-tests googletest_project)
+-
+ set_target_properties(run-tests PROPERTIES
+ COMPILE_FLAGS "${yaml_c_flags} ${yaml_cxx_flags} ${yaml_test_flags}"
+ )
+ target_link_libraries(run-tests
+ yaml-cpp
+-gmock
++GTest::gmock
+ ${CMAKE_THREAD_LIBS_INIT})
+ 
+ add_test(yaml-test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/run-tests)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index 60dee465819..66302b48567 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   alexey+gen...@asokolov.org
+   Alexey Sokolov
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

jbeder/yaml-cpp


diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r4.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r4.ebuild
new file mode 100644
index 000..4992372c536
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/yaml-cpp/archive/${P}.tar.gz;
+S="${WORKDIR}/yaml-cpp-${P}"
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
+
+PATCHES=(
+   "${FILESDIR}/${P}-abi-breakage.patch"
+   "${FILESDIR}/${P}-CVE-2017-11692.patch"
+   "${FILESDIR}/${P}-fix-overflows.patch"
+   "${FILESDIR}/${P}-gtest.patch"
+)
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+   rm -r test/gtest-* || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2021-06-12 Thread David Seifert
commit: 4ce21271106ce22503a1bd60d242dbecada85465
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jun 12 13:41:20 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jun 12 13:41:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce21271

dev-cpp/yaml-cpp: drop inactive maintainer

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 dev-cpp/yaml-cpp/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index f1c1935f78d..60dee465819 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   j...@gentoo.org
-   Johannes Huber
-   
+   

jbeder/yaml-cpp




[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-29 Thread Sam James
commit: e80822e8f1fb71bcb7faec08eade7ba7171cb29b
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 05:51:18 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 05:51:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80822e8

dev-cpp/yaml-cpp: security cleanup

Closes: https://bugs.gentoo.org/719150
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 48 ---
 1 file changed, 48 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
deleted file mode 100644
index 98223343eb1..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS="cmake"
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-
-# test breaks build
-# RESTRICT="!test? ( test )"
-RESTRICT+="test"
-
-DEPEND="test? ( dev-cpp/gtest )"
-
-S="${WORKDIR}/${PN}-${P}"
-
-PATCHES=(
-   "${FILESDIR}/${P}-abi-breakage.patch"
-   "${FILESDIR}/${P}-CVE-2017-11692.patch"
-)
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   -DYAML_BUILD_SHARED_LIBS=ON
-   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
-   -DYAML_CPP_BUILD_TESTS=$(usex test)
-   )
-
-   cmake-multilib_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-29 Thread Sam James
commit: 8e8afc8ef2355ee073fc998a837f8b13519f77ab
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 05:49:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 05:49:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8afc8e

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 ppc64, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 599c20dc10f..60efcffd321 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-29 Thread Sam James
commit: c6c53b38d450785bcdec16108e2c673d43eb42c7
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 29 18:21:53 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 29 18:22:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c53b38

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 ppc, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 52d1f54deaa..599c20dc10f 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-12 Thread Agostino Sarubbo
commit: 7932736edf207a14789423bd93eb04f62995e76f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 12 06:00:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 12 06:00:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7932736e

dev-cpp/yaml-cpp: x86 stable wrt bug #719150

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index b1faa690f1f..52d1f54deaa 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-11 Thread Agostino Sarubbo
commit: 9a983c2089e3f7f1ad2eecf9a617f946985bfd02
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug 11 10:58:40 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug 11 10:58:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a983c20

dev-cpp/yaml-cpp: amd64 stable wrt bug #719150

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 61492c7b92c..b1faa690f1f 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-07 Thread Sam James
commit: 076ccb5750fbde16edce7bc389db424e1117eef1
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  7 12:14:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  7 12:14:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076ccb57

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 arm64, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 18406b0bd39..61492c7b92c 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-06 Thread Sam James
commit: fc0bf139e6117e2036c02d840de8f872ea938002
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  7 02:16:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  7 02:19:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0bf139

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 sparc, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 8db7bca2434..18406b0bd39 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2020-07-26 Thread Sam James
commit: df25aa0798f692e44a99922e9a27d013fafc0bd7
Author: John Helmert III  posteo  net>
AuthorDate: Sun Jul 19 22:32:55 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 27 02:18:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df25aa07

dev-cpp/yaml-cpp: Cleanup <0.6.3-r2

Bug: https://bugs.gentoo.org/626662
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: John Helmert III  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16622
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |  1 -
 .../files/yaml-cpp-0.6.2-CVE-2017-5950.patch   | 45 --
 .../files/yaml-cpp-0.6.2-unbundle-gtest.patch  | 70 --
 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 42 -
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild  | 45 --
 5 files changed, 203 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 9a5094e8b59..65c478502e0 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4
 DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 
07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14
 SHA512 
68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
deleted file mode 100644
index 2892108bd25..000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= 
-Date: Tue, 25 Apr 2017 20:10:20 -0400
-Subject: [PATCH] fix stack overflow in HandleNode() (CVE-2017-5950)
-
-simply set a hardcoded recursion limit to 2000 (inspired by Python's)
-to avoid infinitely recursing into arbitrary data structures
-
-assert() the depth. unsure if this is the right approach, but given
-that HandleNode() is "void", I am not sure how else to return an
-error. the problem with this approach of course is that it will still
-crash the caller, unless they have proper exception handling in place.
-
-Closes: #459

- src/singledocparser.cpp | 2 ++
- src/singledocparser.h   | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
-index a27c1c3b..1b4262ee 100644
 a/src/singledocparser.cpp
-+++ b/src/singledocparser.cpp
-@@ -46,6 +46,8 @@ void SingleDocParser::HandleDocument(EventHandler& 
eventHandler) {
- }
- 
- void SingleDocParser::HandleNode(EventHandler& eventHandler) {
-+  assert(depth < depth_limit);
-+  depth++;
-   // an empty node *is* a possibility
-   if (m_scanner.empty()) {
- eventHandler.OnNull(m_scanner.mark(), NullAnchor);
-diff --git a/src/singledocparser.h b/src/singledocparser.h
-index 2b92067c..7046f1e2 100644
 a/src/singledocparser.h
-+++ b/src/singledocparser.h
-@@ -51,6 +51,8 @@ class SingleDocParser : private noncopyable {
-   anchor_t LookupAnchor(const Mark& mark, const std::string& name) const;
- 
-  private:
-+  int depth = 0;
-+  int depth_limit = 2000;
-   Scanner& m_scanner;
-   const Directives& m_directives;
-   std::unique_ptr m_pCollectionStack;

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
deleted file mode 100644
index 671bde36704..000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 259f944bc3e45420f5891737101260f07ab3030a Mon Sep 17 00:00:00 2001
-From: "Azamat H. Hackimov" 
-Date: Tue, 27 Feb 2018 14:17:49 +0500
-Subject: [PATCH] Externalize googletest project
-
-Externalize gtest to avoid installation, fixes #539.

- test/CMakeLists.txt | 35 ++-
- 1 file changed, 26 insertions(+), 9 deletions(-)
-
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 3633da5..7b39dd4 100644
 a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -1,16 +1,27 @@
-+include(ExternalProject)
-+
-+ExternalProject_Add(
-+  googletest_project
-+  SOURCE_DIR "${CMAKE_SOURCE_DIR}/test/gtest-1.8.0"
-+  INSTALL_DIR "${CMAKE_BINARY_DIR}/prefix"
-+  CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DBUILD_GMOCK=ON
-+)
-+
-+add_library(gmock UNKNOWN IMPORTED)
-+set_target_properties(gmock PROPERTIES
-+  IMPORTED_LOCATION ${PROJECT_BINARY_DIR}/prefix/lib/libgmock.a
-+)
-+
-+find_package(Threads)
-+

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2020-07-26 Thread Sam James
commit: 9530f57129611ca33ca70dc96727466a082784e4
Author: John Helmert III  posteo  net>
AuthorDate: Tue Jul  7 01:19:02 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 27 02:18:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9530f571

dev-cpp/yaml-cpp: Revbump to add security patch

Bug: https://bugs.gentoo.org/719150
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 .../files/yaml-cpp-0.6.3-fix-overflows.patch   | 149 +
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild  |  49 +++
 2 files changed, 198 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-fix-overflows.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-fix-overflows.patch
new file mode 100644
index 000..4c5418db22d
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-fix-overflows.patch
@@ -0,0 +1,149 @@
+This patch comes from the upstream commit here[1], slightly modified to
+apply to 0.6.3. The pull request[2] mentions fixing CVE-2017-5950,
+CVE-2018-{20573,20574}, and CVE-2019-6285. Note that CVE-2019-6292 appears to
+be a duplicate of CVE-2019-6285 [3].
+
+[1] 
https://github.com/jbeder/yaml-cpp/commit/4edff1fa5dbfca16fc72d89870841bee89f8ef89
+[2] https://github.com/jbeder/yaml-cpp/pull/807
+[3] https://github.com/jbeder/yaml-cpp/issues/660
+
+diff --git a/include/yaml-cpp/depthguard.h b/include/yaml-cpp/depthguard.h
+new file mode 100644
+index ..8ca61ac6
+--- /dev/null
 b/include/yaml-cpp/depthguard.h
+@@ -0,0 +1,77 @@
++#ifndef DEPTH_GUARD_H_
++#define DEPTH_GUARD_H_
++
++#if defined(_MSC_VER) ||\
++(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
++ (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
++#pragma once
++#endif
++
++#include "exceptions.h"
++
++namespace YAML {
++
++/**
++ * @brief The DeepRecursion class
++ *  An exception class which is thrown by DepthGuard. Ideally it should be
++ * a member of DepthGuard. However, DepthGuard is a templated class which 
means
++ * that any catch points would then need to know the template parameters. It 
is
++ * simpler for clients to not have to know at the catch point what was the
++ * maximum depth.
++ */
++class DeepRecursion : public ParserException {
++public:
++  virtual ~DeepRecursion() = default;
++
++  DeepRecursion(int depth, const Mark& mark_, const std::string& msg_);
++
++  // Returns the recursion depth when the exception was thrown
++  int depth() const {
++return m_depth;
++  }
++
++private:
++  int m_depth = 0;
++};
++
++/**
++ * @brief The DepthGuard class
++ *  DepthGuard takes a reference to an integer. It increments the integer upon
++ * construction of DepthGuard and decrements the integer upon destruction.
++ *
++ * If the integer would be incremented past max_depth, then an exception is
++ * thrown. This is ideally geared toward guarding against deep recursion.
++ *
++ * @param max_depth
++ *  compile-time configurable maximum depth.
++ */
++template 
++class DepthGuard final {
++public:
++  DepthGuard(int & depth_, const Mark& mark_, const std::string& msg_) : 
m_depth(depth_) {
++++m_depth;
++if ( max_depth <= m_depth ) {
++throw DeepRecursion{m_depth, mark_, msg_};
++}
++  }
++
++  DepthGuard(const DepthGuard & copy_ctor) = delete;
++  DepthGuard(DepthGuard && move_ctor) = delete;
++  DepthGuard & operator=(const DepthGuard & copy_assign) = delete;
++  DepthGuard & operator=(DepthGuard && move_assign) = delete;
++
++  ~DepthGuard() {
++--m_depth;
++  }
++
++  int current_depth() const {
++return m_depth;
++  }
++
++private:
++int & m_depth;
++};
++
++} // namespace YAML
++
++#endif // 
DEPTH_GUARD_H_
+diff --git a/src/depthguard.cpp b/src/depthguard.cpp
+new file mode 100644
+index ..b88cd340
+--- /dev/null
 b/src/depthguard.cpp
+@@ -0,0 +1,10 @@
++#include "yaml-cpp/depthguard.h"
++
++namespace YAML {
++
++DeepRecursion::DeepRecursion(int depth, const Mark& mark_, const std::string& 
msg_)
++: ParserException(mark_, msg_),
++  m_depth(depth) {
++}
++
++} // namespace YAML
+diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
+index 47e9e047..3e5638be 100644
+--- a/src/singledocparser.cpp
 b/src/singledocparser.cpp
+@@ -7,6 +7,7 @@
+ #include "singledocparser.h"
+ #include "tag.h"
+ #include "token.h"
++#include "yaml-cpp/depthguard.h"
+ #include "yaml-cpp/emitterstyle.h"
+ #include "yaml-cpp/eventhandler.h"
+ #include "yaml-cpp/exceptions.h"  // IWYU pragma: keep
+@@ -47,6 +48,8 @@ void SingleDocParser::HandleDocument(EventHandler& 
eventHandler) {
+ }
+ 
+ void SingleDocParser::HandleNode(EventHandler& eventHandler) {
++  

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-20 Thread Thomas Deutschmann
commit: e506428f59e46b3fc3008af92f8b85ab7e044f09
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Jun 20 15:44:13 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jun 20 15:45:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e506428f

dev-cpp/yaml-cpp: x86 stable (bug #713464)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index d42d4b735d1..98223343eb1 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-18 Thread Mart Raudsepp
commit: 260bdc680a77a4c7c1f0362ec6262afbf42b230a
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jun 18 18:30:05 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Jun 18 21:58:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260bdc68

dev-cpp/yaml-cpp: arm64 stable (bug #713464)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index fb698430c41..d42d4b735d1 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-17 Thread Agostino Sarubbo
commit: 8e011b7195015a4df570af153f15dc3e3107eb6f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 17 07:07:03 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 17 07:07:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e011b71

dev-cpp/yaml-cpp: amd64 stable wrt bug #713464

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index 5dd5c5e5e7a..fb698430c41 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-01 Thread Sergei Trofimovich
commit: 64f0c49eea61b326d10418e1f6b4345e80d2e813
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun  1 12:54:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  1 17:02:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f0c49e

dev-cpp/yaml-cpp: stable 0.6.3-r2 for sparc, bug #713464

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index 966f37d2c32..5dd5c5e5e7a 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-05-25 Thread Sergei Trofimovich
commit: 9a88c1de0493a5b6ab3309af317f5efa1b6f3087
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 25 09:31:34 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 25 09:31:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a88c1de

dev-cpp/yaml-cpp: stable 0.6.3-r2 for ppc, bug #713464

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index facff9912fe..966f37d2c32 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-05-25 Thread Sergei Trofimovich
commit: 81549b8c2a51e6d3088d5a17eb95b962ef28d364
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 25 09:26:11 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 25 09:26:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81549b8c

dev-cpp/yaml-cpp: stable 0.6.3-r2 for ppc64, bug #713464

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index db3c4f6dd2d..facff9912fe 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2020-03-20 Thread Johannes Huber
commit: f506b95e837aebf001b41ed1bcd19bda82d3ee47
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri Mar 20 11:35:37 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri Mar 20 11:36:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f506b95e

dev-cpp/yaml-cpp: Fix CVE-2017-11692

Bug: https://bugs.gentoo.org/626662
Thanks-to: sam_c (Security Padawan)  cmpct.info>
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Johannes Huber  gentoo.org>

 .../files/yaml-cpp-0.6.3-CVE-2017-11692.patch  | 44 
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild  | 48 ++
 2 files changed, 92 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch
new file mode 100644
index 000..fd7a7198c1c
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch
@@ -0,0 +1,44 @@
+From c9460110e072df84b7dee3eb651f2ec5df75fb18 Mon Sep 17 00:00:00 2001
+From: Jesse Beder 
+Date: Mon, 20 Jan 2020 18:05:15 -0600
+Subject: [PATCH] Fix reading empty token stack with a node with properties but
+ no scalar.
+
+E.g. `!2`.
+---
+ src/singledocparser.cpp | 6 ++
+ test/integration/load_node_test.cpp | 5 +
+ 2 files changed, 11 insertions(+)
+
+diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
+index 52544dd6..47e9e047 100644
+--- a/src/singledocparser.cpp
 b/src/singledocparser.cpp
+@@ -79,6 +79,12 @@ void SingleDocParser::HandleNode(EventHandler& 
eventHandler) {
+   if (!anchor_name.empty())
+ eventHandler.OnAnchor(mark, anchor_name);
+ 
++  // after parsing properties, an empty node is again a possibility
++  if (m_scanner.empty()) {
++eventHandler.OnNull(mark, anchor);
++return;
++  }
++
+   const Token& token = m_scanner.peek();
+ 
+   if (token.type == Token::PLAIN_SCALAR && IsNullString(token.value)) {
+diff --git a/test/integration/load_node_test.cpp 
b/test/integration/load_node_test.cpp
+index 4f4f28e8..0e0dd6bc 100644
+--- a/test/integration/load_node_test.cpp
 b/test/integration/load_node_test.cpp
+@@ -257,5 +257,10 @@ TEST(NodeTest, LoadTagWithParenthesis) {
+ EXPECT_EQ(node.as(), "foo");
+ }
+ 
++TEST(NodeTest, LoadTagWithNullScalar) {
++  Node node = Load("!2");
++  EXPECT_TRUE(node.IsNull());
++}
++
+ }  // namespace
+ }  // namespace YAML

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
new file mode 100644
index 000..db3c4f6dd2d
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+
+# test breaks build
+# RESTRICT="!test? ( test )"
+RESTRICT+="test"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-abi-breakage.patch"
+   "${FILESDIR}/${P}-CVE-2017-11692.patch"
+)
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-01-08 Thread Johannes Huber
commit: b1ef07fb842286f6d0ae5dd7f5c5a9b3f10bd842
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  8 21:48:23 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  8 21:48:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ef07fb

dev-cpp/yaml-cpp: Remove 0.6.3 (r0)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild | 43 --
 1 file changed, 43 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
deleted file mode 100644
index cc5377b8d0f..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS="cmake"
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
-IUSE="test"
-
-# test breaks build
-# RESTRICT="!test? ( test )"
-RESTRICT+="test"
-
-DEPEND="test? ( dev-cpp/gtest )"
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   -DYAML_BUILD_SHARED_LIBS=ON
-   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
-   -DYAML_CPP_BUILD_TESTS=$(usex test)
-   )
-
-   cmake-multilib_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2020-01-07 Thread Johannes Huber
commit: 4f0b8303610a5eeefa5e4aa1127a27c1993372df
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Jan  7 21:40:11 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Jan  7 21:41:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0b8303

dev-cpp/yaml-cpp: fix ABI breakage

Adds a patch used in fedora to fix ABI breakage. Patch and issue spotted
by Attila Tóth  atoth.sote.hu>.

Bug: https://bugs.gentoo.org/704948
Thanks-to: Attila Tóth  atoth.sote.hu>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 .../files/yaml-cpp-0.6.3-abi-breakage.patch| 57 ++
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild  | 45 +
 2 files changed, 102 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch
new file mode 100644
index 000..d9160856c47
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch
@@ -0,0 +1,57 @@
+commit f5f288c7622d3547c29a8355b8ccda0155483b79
+Author: Till Hofmann 
+Date:   Sun Nov 17 22:43:20 2019 +0100
+
+Revert "fix up static, so works as DLL (#559)"
+
+This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.
+
+diff --git a/include/yaml-cpp/node/detail/node_data.h 
b/include/yaml-cpp/node/detail/node_data.h
+index 82fb79a..50bcd74 100644
+--- a/include/yaml-cpp/node/detail/node_data.h
 b/include/yaml-cpp/node/detail/node_data.h
+@@ -81,7 +81,7 @@ class YAML_CPP_API node_data {
+ shared_memory_holder pMemory);
+ 
+  public:
+-  static const std::string& empty_scalar();
++  static std::string empty_scalar;
+ 
+  private:
+   void compute_seq_size() const;
+diff --git a/include/yaml-cpp/node/impl.h b/include/yaml-cpp/node/impl.h
+index 7a3deac..b363f86 100644
+--- a/include/yaml-cpp/node/impl.h
 b/include/yaml-cpp/node/impl.h
+@@ -166,13 +166,13 @@ inline T Node::as(const S& fallback) const {
+ inline const std::string& Node::Scalar() const {
+   if (!m_isValid)
+ throw InvalidNode(m_invalidKey);
+-  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar();
++  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar;
+ }
+ 
+ inline const std::string& Node::Tag() const {
+   if (!m_isValid)
+ throw InvalidNode(m_invalidKey);
+-  return m_pNode ? m_pNode->tag() : detail::node_data::empty_scalar();
++  return m_pNode ? m_pNode->tag() : detail::node_data::empty_scalar;
+ }
+ 
+ inline void Node::SetTag(const std::string& tag) {
+diff --git a/src/node_data.cpp b/src/node_data.cpp
+index 6cfedfc..eba1ae4 100644
+--- a/src/node_data.cpp
 b/src/node_data.cpp
+@@ -13,10 +13,7 @@
+ namespace YAML {
+ namespace detail {
+ 
+-const std::string& node_data::empty_scalar() {
+-  static const std::string svalue;
+-  return svalue;
+-}
++std::string node_data::empty_scalar;
+ 
+ node_data::node_data()
+ : m_isDefined(false),

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild
new file mode 100644
index 000..8a579eada7c
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+
+# test breaks build
+# RESTRICT="!test? ( test )"
+RESTRICT+="test"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+PATCHES=( "${FILESDIR}/${P}-abi-breakage.patch" )
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-01-04 Thread Johannes Huber
commit: eb910ac08b8fc17443442e34353ef5d4a5d7414e
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jan  4 11:31:27 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jan  4 11:31:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb910ac0

dev-cpp/yaml-cpp: Version bump 0.6.3

Closes: https://bugs.gentoo.org/700772
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |  1 +
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 4a2a21dbeb9..9a5094e8b59 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1,2 @@
 DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4
+DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 
07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14
 SHA512 
68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
new file mode 100644
index 000..cc5377b8d0f
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+
+# test breaks build
+# RESTRICT="!test? ( test )"
+RESTRICT+="test"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2019-12-31 Thread Aaron Bauman
commit: b168c9003cfefe0b608b3e12a8ad37b872f6250b
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Dec 31 18:06:45 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Dec 31 18:06:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b168c900

dev-cpp/yaml-cpp: arm64 stable (bug #704258)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index 627ca917b84..925e955fe1d 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2019-09-13 Thread Matt Turner
commit: 5f22f9c2fba9e759fabfd5fbd3c831f42c5139c6
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Sep 14 05:15:56 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Sep 14 05:15:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f22f9c2

dev-cpp/yaml-cpp-0.6.2: sparc stable

Signed-off-by: Matt Turner  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index ea71d30bdd9..48edca1378e 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2018-06-02 Thread Johannes Huber
commit: ee604746b688a9631001dff1618b97dd4ad1aa46
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jun  2 15:52:51 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun  2 15:52:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee604746

dev-cpp/yaml-cpp: Remove 0.5.3-r1

Bug: https://bugs.gentoo.org/614850
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/yaml-cpp/Manifest|  1 -
 dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch | 44 
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild| 37 
 3 files changed, 82 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index bac72aa90f8..4a2a21dbeb9 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.5.3.tar.gz 2016737 BLAKE2B 
6c10d44fe04fdd81cd61c909acdb576834f5358dd44353723b04d8a42bf8a1312cfa752e445c84f93c6ce76358b2d42dee5263f6fbd47a1f928d1cd28aedef07
 SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
deleted file mode 100644
index 88ee25fa0ac..000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Bug: https://bugs.gentoo.org/609176
-Upstream PR: https://github.com/jbeder/yaml-cpp/pull/514
-
-From a83a1b3a7bd0a5a4eb458d898b057f6a8d409b7e Mon Sep 17 00:00:00 2001
-From: Peter-Levine 
-Date: Mon, 24 Jul 2017 02:00:24 -0400
-Subject: [PATCH] Fix segfault in gmock when running tests
-
-Taken from 
https://github.com/google/googletest/issues/705#issuecomment-235067917

- test/gmock-1.7.0/include/gmock/gmock-spec-builders.h | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h 
b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
-index 312fbe87..2dd733b6 100644
 a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
-+++ b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
-@@ -1370,6 +1370,8 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
- template <>
- class ActionResultHolder : public UntypedActionResultHolderBase {
-  public:
-+  explicit ActionResultHolder() {}
-+
-   void GetValueAndDelete() const { delete this; }
- 
-   virtual void PrintAsActionResult(::std::ostream* /* os */) const {}
-@@ -1381,7 +1383,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
-   const typename Function::ArgumentTuple& args,
-   const string& call_description) {
- func_mocker->PerformDefaultAction(args, call_description);
--return NULL;
-+return new ActionResultHolder();
-   }
- 
-   // Performs the given action and returns NULL.
-@@ -1390,7 +1392,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
-   const Action& action,
-   const typename Function::ArgumentTuple& args) {
- action.Perform(args);
--return NULL;
-+return new ActionResultHolder();
-   }
- };
- 

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
deleted file mode 100644
index 6bf29f127ca..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2:="
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-06-02 Thread Johannes Huber
commit: 420ece48c6a889140665bfe37e784b8526c52107
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jun  2 15:51:36 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun  2 15:51:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420ece48

dev-cpp/yaml-cpp: Remove 0.5.3 (r0)

Bug: https://bugs.gentoo.org/614850
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 37 --
 1 file changed, 37 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
deleted file mode 100644
index f889e29358c..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-06-02 Thread Mikle Kolyada
commit: 2ccc2195b38789bc5992c7db82620204e11556aa
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jun  2 14:50:41 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jun  2 14:50:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccc2195

dev-cpp/yaml-cpp: ppc/ppc64 stable wrt bug #614850

Package-Manager: Portage-2.3.40, Repoman-2.3.7

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index c4ef83299cd..ea71d30bdd9 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-05-26 Thread Mikle Kolyada
commit: c4852487d29e62d95d61f0451457bf837327db0d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May 26 07:44:16 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May 26 07:44:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4852487

dev-cpp/yaml-cpp: amd64 stable wrt bug #614850

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index fec9c44151f..c4ef83299cd 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-05-25 Thread Thomas Deutschmann
commit: 788dfa59d7cfd7718dd08d4e70e8ba7d76dc4516
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri May 25 22:54:58 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri May 25 23:58:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788dfa59

dev-cpp/yaml-cpp: x86 stable (bug #614850)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index 608eab3ed61..fec9c44151f 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2018-03-29 Thread Johannes Huber
commit: 40eeb5defc05e61c4e03830e6f071e8c1d629f68
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Tue Feb 27 10:41:23 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Thu Mar 29 18:38:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40eeb5de

dev-cpp/yaml-cpp: version bump to 0.6.2

Bug: https://bugs.gentoo.org/614850
Closes: https://bugs.gentoo.org/638326
Closes: https://github.com/gentoo/gentoo/pull/7294
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |  1 +
 .../files/yaml-cpp-0.6.2-CVE-2017-5950.patch   | 45 ++
 .../files/yaml-cpp-0.6.2-unbundle-gtest.patch  | 70 ++
 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 41 +
 4 files changed, 157 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 90cc2aa7b6c..bac72aa90f8 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1,2 @@
 DIST yaml-cpp-0.5.3.tar.gz 2016737 BLAKE2B 
6c10d44fe04fdd81cd61c909acdb576834f5358dd44353723b04d8a42bf8a1312cfa752e445c84f93c6ce76358b2d42dee5263f6fbd47a1f928d1cd28aedef07
 SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
+DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
new file mode 100644
index 000..2892108bd25
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
@@ -0,0 +1,45 @@
+From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= 
+Date: Tue, 25 Apr 2017 20:10:20 -0400
+Subject: [PATCH] fix stack overflow in HandleNode() (CVE-2017-5950)
+
+simply set a hardcoded recursion limit to 2000 (inspired by Python's)
+to avoid infinitely recursing into arbitrary data structures
+
+assert() the depth. unsure if this is the right approach, but given
+that HandleNode() is "void", I am not sure how else to return an
+error. the problem with this approach of course is that it will still
+crash the caller, unless they have proper exception handling in place.
+
+Closes: #459
+---
+ src/singledocparser.cpp | 2 ++
+ src/singledocparser.h   | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
+index a27c1c3b..1b4262ee 100644
+--- a/src/singledocparser.cpp
 b/src/singledocparser.cpp
+@@ -46,6 +46,8 @@ void SingleDocParser::HandleDocument(EventHandler& 
eventHandler) {
+ }
+ 
+ void SingleDocParser::HandleNode(EventHandler& eventHandler) {
++  assert(depth < depth_limit);
++  depth++;
+   // an empty node *is* a possibility
+   if (m_scanner.empty()) {
+ eventHandler.OnNull(m_scanner.mark(), NullAnchor);
+diff --git a/src/singledocparser.h b/src/singledocparser.h
+index 2b92067c..7046f1e2 100644
+--- a/src/singledocparser.h
 b/src/singledocparser.h
+@@ -51,6 +51,8 @@ class SingleDocParser : private noncopyable {
+   anchor_t LookupAnchor(const Mark& mark, const std::string& name) const;
+ 
+  private:
++  int depth = 0;
++  int depth_limit = 2000;
+   Scanner& m_scanner;
+   const Directives& m_directives;
+   std::unique_ptr m_pCollectionStack;

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
new file mode 100644
index 000..671bde36704
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
@@ -0,0 +1,70 @@
+From 259f944bc3e45420f5891737101260f07ab3030a Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" 
+Date: Tue, 27 Feb 2018 14:17:49 +0500
+Subject: [PATCH] Externalize googletest project
+
+Externalize gtest to avoid installation, fixes #539.
+---
+ test/CMakeLists.txt | 35 ++-
+ 1 file changed, 26 insertions(+), 9 deletions(-)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 3633da5..7b39dd4 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -1,16 +1,27 @@
++include(ExternalProject)
++
++ExternalProject_Add(
++  googletest_project
++  SOURCE_DIR "${CMAKE_SOURCE_DIR}/test/gtest-1.8.0"
++  INSTALL_DIR "${CMAKE_BINARY_DIR}/prefix"
++  CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DBUILD_GMOCK=ON
++)
++
++add_library(gmock UNKNOWN IMPORTED)
++set_target_properties(gmock PROPERTIES
++  IMPORTED_LOCATION ${PROJECT_BINARY_DIR}/prefix/lib/libgmock.a
++)
++
++find_package(Threads)
++
++include_directories(SYSTEM 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-12-04 Thread Sergei Trofimovich
commit: f6a5b6d838c7148dd3d9870881ba0c0920299a41
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec  4 22:06:32 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec  4 22:07:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a5b6d8

dev-cpp/yaml-cpp: stable 0.5.3 for sparc, bug #587848 (thanks to Rolf Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-cpp/yaml-cpp/Manifest  | 2 +-
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index c520ecfc760..90cc2aa7b6c 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1 @@
-DIST yaml-cpp-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
+DIST yaml-cpp-0.5.3.tar.gz 2016737 BLAKE2B 
6c10d44fe04fdd81cd61c909acdb576834f5358dd44353723b04d8a42bf8a1312cfa752e445c84f93c6ce76358b2d42dee5263f6fbd47a1f928d1cd28aedef07
 SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 503d7e2b9ff..f889e29358c 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-09-10 Thread Matt Thode
commit: 35955eb9f11cf884675ef4280cc64af6b4415cbe
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Sep 10 21:03:39 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Sep 10 21:03:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35955eb9

dev-cpp/yaml-cpp: yaml-cpp makes static links to boost bug 628360

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild | 37 +++
 1 file changed, 37 insertions(+)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
new file mode 100644
index 000..6bf29f127ca
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-libs/boost-1.49.0-r2:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2017-07-30 Thread David Seifert
commit: 7740aaf860fb686e087e174158dacf4f7c8051b2
Author: Peter Levine  gmail  com>
AuthorDate: Mon Jul 24 06:25:27 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jul 30 09:09:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7740aaf8

dev-cpp/yaml-cpp: Fix test failure with GCC-6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=609176
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5191

 dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch | 44 
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild   |  2 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
new file mode 100644
index 000..88ee25fa0ac
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
@@ -0,0 +1,44 @@
+Bug: https://bugs.gentoo.org/609176
+Upstream PR: https://github.com/jbeder/yaml-cpp/pull/514
+
+From a83a1b3a7bd0a5a4eb458d898b057f6a8d409b7e Mon Sep 17 00:00:00 2001
+From: Peter-Levine 
+Date: Mon, 24 Jul 2017 02:00:24 -0400
+Subject: [PATCH] Fix segfault in gmock when running tests
+
+Taken from 
https://github.com/google/googletest/issues/705#issuecomment-235067917
+---
+ test/gmock-1.7.0/include/gmock/gmock-spec-builders.h | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h 
b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
+index 312fbe87..2dd733b6 100644
+--- a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
 b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
+@@ -1370,6 +1370,8 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
+ template <>
+ class ActionResultHolder : public UntypedActionResultHolderBase {
+  public:
++  explicit ActionResultHolder() {}
++
+   void GetValueAndDelete() const { delete this; }
+ 
+   virtual void PrintAsActionResult(::std::ostream* /* os */) const {}
+@@ -1381,7 +1383,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
+   const typename Function::ArgumentTuple& args,
+   const string& call_description) {
+ func_mocker->PerformDefaultAction(args, call_description);
+-return NULL;
++return new ActionResultHolder();
+   }
+ 
+   // Performs the given action and returns NULL.
+@@ -1390,7 +1392,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
+   const Action& action,
+   const typename Function::ArgumentTuple& args) {
+ action.Perform(args);
+-return NULL;
++return new ActionResultHolder();
+   }
+ };
+ 

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index a857f75d61b..503d7e2b9ff 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -19,6 +19,8 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-release-${PV}"
 
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
 src_prepare() {
sed -i \
-e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-07-12 Thread Alexis Ballier
commit: 7c3daab9361ad3f88e5e5a8ac99e5752cd20d582
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Jul 12 17:09:56 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Jul 12 18:40:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3daab9

dev-cpp/yaml-cpp: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 5ff8e480a24..a857f75d61b 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-06-05 Thread Johannes Huber
commit: 6c6d7fc70eab3b08533f1a621ebadf995d539853
Author: Johannes Huber  gentoo  org>
AuthorDate: Mon Jun  5 11:06:58 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Mon Jun  5 11:10:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6d7fc7

dev-cpp/yaml-cpp: Remove 0.5.1

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/yaml-cpp/Manifest  |  1 -
 dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index dc26a833669..c520ecfc760 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546
 DIST yaml-cpp-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
deleted file mode 100644
index 03fa0af0e37..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-03-28 Thread Jeroen Roovers
commit: 44194f899a5ce36499e724d5dbb5aa94003f9419
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 29 01:47:27 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 29 01:47:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44194f89

dev-cpp/yaml-cpp: Stable for HPPA (bug #587848).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 18f6b416bbc..5ff8e480a24 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-02-21 Thread Mike Gilbert
commit: 0a8250b360d302892fe72bd1adf3edb61f9a653c
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Tue Feb 21 18:51:06 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb 21 19:08:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8250b3

dev-cpp/yaml-cpp: Fix filename of distfile stored in ${DISTDIR}.

 dev-cpp/yaml-cpp/Manifest  | 2 +-
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 9921134643..dc26a83366 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1,2 @@
-DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546
+DIST yaml-cpp-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index d66e118281..ef72ff721e 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -8,7 +8,7 @@ inherit cmake-utils
 
 DESCRIPTION="YAML parser and emitter in C++"
 HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-01-03 Thread Agostino Sarubbo
commit: 8510212f63b22671eb21c6e719e3af7ff0371f9b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan  3 10:35:20 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan  3 10:38:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8510212f

dev-cpp/yaml-cpp: ppc64 stable wrt bug #600512

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 226d33f..b8ad229 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-12-21 Thread Tobias Klausmann
commit: 700e201056bc9c11a492df20d4595da3fde43efc
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 16:24:17 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 16:24:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700e2010

dev-cpp/yaml-cpp-0.5.3-r0: stable on amd64

Gentoo-Bug: 600512

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index f90f977..6aa8324 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-22 Thread Johannes Huber
commit: 558baf02fa324a2941ce66add2491f423750f817
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Nov 22 20:05:16 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Nov 22 20:05:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558baf02

dev-cpp/yaml-cpp: Drop google-code remote id

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index e84e7be..f1c1935 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -6,7 +6,6 @@
Johannes Huber


-   yaml-cpp
jbeder/yaml-cpp

 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-02 Thread Johannes Huber
commit: ee46fcb977c90d8070cd3b6ad5a06bb5a6a09005
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Nov  2 17:26:19 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Nov  2 17:37:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee46fcb9

dev-cpp/yaml-cpp: Remove 0.3.0

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/Manifest  |  1 -
 dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild | 35 --
 2 files changed, 36 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 905a3b6..4bc45eb 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,4 +1,3 @@
 DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
 DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
-DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 
2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 
1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d
 WHIRLPOOL 
106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
deleted file mode 100644
index fd09adb..
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit cmake-utils
-
-DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-02 Thread Johannes Huber
commit: dbeae7183af63c517513c1f775cd98294b1037c2
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Nov  2 17:27:50 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Nov  2 17:37:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbeae718

dev-cpp/yaml-cpp: Remove 0.5.2

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/Manifest  |  1 -
 dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild | 36 --
 2 files changed, 37 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 4bc45eb..9921134 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,3 +1,2 @@
-DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
 DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
deleted file mode 100644
index d2db62f..
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-02 Thread Johannes Huber
commit: 7649da5f29d28e6fb88cc6f6afdede6494f9055f
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Nov  2 17:37:13 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Nov  2 17:37:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7649da5f

dev-cpp/yaml-cpp: EAPI 6

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 70eace3..f90f977 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit cmake-utils
 
-DESCRIPTION="A YAML parser and emitter in C++"
+DESCRIPTION="YAML parser and emitter in C++"
 HOMEPAGE="https://github.com/jbeder/yaml-cpp;
 SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-08-08 Thread Johannes Huber
commit: 40d03c05b4a7a4d951d52e5bc068edc2e36e3c6f
Author: Johannes Huber  gentoo  org>
AuthorDate: Mon Aug  8 17:04:39 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Mon Aug  8 17:04:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d03c05

dev-cpp/yaml-cpp: Add myself as maintainer

Package-Manager: portage-2.3.0

 dev-cpp/yaml-cpp/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index c3c3aa4..e84e7be 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   j...@gentoo.org
+   Johannes Huber
+   

yaml-cpp
jbeder/yaml-cpp



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-08-06 Thread Pacho Ramos
commit: 61992689914b24fb27c3bb98c3346a464d698507
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Aug  6 12:39:22 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Aug  6 12:46:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61992689

dev-cpp/yaml-cpp: Cleanup per bug #231477

Package-Manager: portage-2.3.0

 dev-cpp/yaml-cpp/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index 995008a..c3c3aa4 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   neurog...@gentoo.org
-   Jesus Rivero
-   

yaml-cpp
jbeder/yaml-cpp



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-01-20 Thread Alexys Jacob
commit: 04cc17baca8773d552a42e920252a16dd79d1019
Author: Ultrabug  gentoo  org>
AuthorDate: Wed Jan 20 08:10:30 2016 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Wed Jan 20 12:45:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cc17ba

dev-cpp/yaml-cpp: version bump

Package-Manager: portage-2.2.27

 dev-cpp/yaml-cpp/Manifest  |  1 +
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 2c3fd11..905a3b6 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,3 +1,4 @@
 DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
+DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
 DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 
2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 
1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d
 WHIRLPOOL 
106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
new file mode 100644
index 000..70eace3
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="A YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-libs/boost-1.49.0-r2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-01-07 Thread Patrice Clement
commit: fd75484b75b558d5b8c1f98c9b77bb2265f60206
Author: Matthew Dawson  mjdsystems  ca>
AuthorDate: Mon Dec 28 22:47:05 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Dec 28 22:47:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd75484b

dev-cpp/yaml-cpp: Bump to version 0.5.2.  Adjust SRC_URI and S to match tarball.

Package-Manager: portage-2.2.24

 dev-cpp/yaml-cpp/Manifest  |  1 +
 dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 8b5a1be..2c3fd11 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1,3 @@
+DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
 DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 
2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 
1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d
 WHIRLPOOL 
106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
new file mode 100644
index 000..d2db62f
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="A YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-libs/boost-1.49.0-r2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2015-09-01 Thread Tobias Klausmann
commit: 1945a2b02c64999ba24d822d12d7444b17ee2059
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Sep  1 18:58:14 2015 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Sep  1 18:58:14 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1945a2b0

dev-cpp/yaml-cpp: Fixing HOMEPAGE move due to code.google.com shutdown

Package-Manager: portage-2.2.20.1

 dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild | 2 +-
 dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
index c57489f..fd09adb 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
@@ -7,7 +7,7 @@ EAPI=4
 inherit cmake-utils
 
 DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://code.google.com/p/yaml-cpp/;
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
 
 LICENSE="MIT"

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
index 97d5bb9..e735d73 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 inherit cmake-utils
 
 DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://code.google.com/p/yaml-cpp/;
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
 
 LICENSE="MIT"