git: 26e6595db80c - main - security/lastpass-cli: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 16:54:31 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26e6595db80c5fb8df024e9235d12605347db0cd

commit 26e6595db80c5fb8df024e9235d12605347db0cd
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-12 16:52:54 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-12 16:52:54 +0000

    security/lastpass-cli: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 security/lastpass-cli/files/patch-CMakeLists.txt | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/security/lastpass-cli/files/patch-CMakeLists.txt b/security/lastpass-cli/files/patch-CMakeLists.txt
index d4d3c68702ad..197b47d40bb8 100644
--- a/security/lastpass-cli/files/patch-CMakeLists.txt
+++ b/security/lastpass-cli/files/patch-CMakeLists.txt
@@ -1,6 +1,15 @@
---- CMakeLists.txt.orig	2023-11-10 10:04:34 UTC
+--- CMakeLists.txt.orig	2024-11-14 09:40:56 UTC
 +++ CMakeLists.txt
-@@ -56,7 +56,7 @@ file(GLOB PROJECT_SOURCES *.c)
+@@ -2,7 +2,7 @@ else()
+   set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake > 2.8.4 is required
+   cmake_minimum_required(VERSION 2.8)
+ else()
+-  cmake_minimum_required(VERSION 3.1)
++  cmake_minimum_required(VERSION 3.5)
+ endif()
+ 
+ project(lpass)
+@@ -101,7 +101,7 @@ set(PROJECT_DEFINITIONS "_GNU_SOURCE")
  
  set(PROJECT_DEFINITIONS "_GNU_SOURCE")