Package: src:libjsoncpp
Version: 1.9.4-4
Tag: patch

Dear maintainer,

the new upstream release of CMake introduced a deprecation warning
if cmake_minimum_required() requests a minimum version below 2.8.12.
This makes the autopkgtest suite of libjsoncpp fail due to unexpected
stderr output.

Attached is a patch that bumps the minimum version to something
reasonably recent, i.e. the current oldoldstable version of CMake.

Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index 78443d4..c5ebc2e 100644
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -30,7 +30,7 @@ else
 fi
 
 cat <<EOF > CMakeLists.txt
-cmake_minimum_required(VERSION 2.6.2)
+cmake_minimum_required(VERSION 3.7)
 project(jsoncpp_test)
 
 find_package(jsoncpp REQUIRED)

Attachment: signature.asc
Description: PGP signature

Reply via email to