Package: src:libgit2
Version: 1.1.0+dfsg.1-4
Tag: patch

Dear maintainers,

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 libgit2 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

PS: Hi Utkarsh :)

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
diff --git a/debian/tests/CMakeLists.txt b/debian/tests/CMakeLists.txt
index 24e8efe2e..46241b779 100644
--- a/debian/tests/CMakeLists.txt
+++ b/debian/tests/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
+CMAKE_MINIMUM_REQUIRED (VERSION 3.7)
 PROJECT (libgit2_test)
  
 ADD_EXECUTABLE (libgit2_test libgit2_test.c)

Attachment: signature.asc
Description: PGP signature

Reply via email to