diff --git a/dev-cpp/valijson/Manifest b/dev-cpp/valijson/Manifest index ab196e007f5b0..7c45f29985334 100644 --- a/dev-cpp/valijson/Manifest +++ b/dev-cpp/valijson/Manifest @@ -1 +1 @@ -DIST valijson-0.6.tar.gz 1881386 BLAKE2B 1dd7783e10f7d362673bd2b80920c911cca194068078ac1411897b212600032bc15ffe10dbb62c27e54d168a1c634d73ee40b394e4d534e72224694ec662e0a6 SHA512 a493d17159e479be7fe29d45c610c7d4fdd2c2f9ba897923129734fb07257dbb41fddde4c4263dbf0aa5c7101cd1555568a048beba2f60d2b32e625dd9690749 +DIST valijson-0.7.tar.gz 2060214 BLAKE2B d2e1c58e37213e44d7d6af173691cad3853e87648948c229ea683bfcba8b19256b0230852b0537c2dbdd7084fcf1ac068e320c5f59a69e446610390b82e76474 SHA512 662e53bf1cac4def19792392cda7cbfe2cbadf77b768eb69b2dec693b16f85f32fa2e9b97eae36569cfcc9ac45f1e6338967423cf415d6bcd90372bc49793a2d diff --git a/dev-cpp/valijson/valijson-0.6.ebuild b/dev-cpp/valijson/valijson-0.7.ebuild similarity index 85% rename from dev-cpp/valijson/valijson-0.6.ebuild rename to dev-cpp/valijson/valijson-0.7.ebuild index 879b255f17605..52fc96a2bad88 100644 --- a/dev-cpp/valijson/valijson-0.6.ebuild +++ b/dev-cpp/valijson/valijson-0.7.ebuild @@ -21,11 +21,15 @@ src_configure() { ) if use test; then + # Fix relative paths to test data sed -i -e "s:../tests/data/documents/:../${P}/tests/data/documents/:" tests/test_adapter_comparison.cpp || die sed -i -e "s:../tests/data:../${P}/tests/data:" tests/test_validation_errors.cpp || die sed -i -e "s:../thirdparty/:../${P}/thirdparty/:" -e "s:../doc/schema/:../${P}/doc/schema/:" tests/test_validator.cpp || die fi + # -Werror is too aggressive due to false positives with gcc-12, see bug #866153 + sed -i -e 's/-Werror//g' ../${P}/CMakeLists.txt || die + cmake_src_configure }