All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/lensfun: fix build with cmake 4
@ 2026-01-02 16:38 Bernd Kuhls
  2026-01-02 17:17 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-01-02 16:38 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

Fixes:
https://autobuild.buildroot.net/results/dce/dced550d78ca4365c6b334d442a4995d6b8dec46/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/lensfun/0001-cmake4.patch | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/lensfun/0001-cmake4.patch

diff --git a/package/lensfun/0001-cmake4.patch b/package/lensfun/0001-cmake4.patch
new file mode 100644
index 0000000000..d7973f4cb7
--- /dev/null
+++ b/package/lensfun/0001-cmake4.patch
@@ -0,0 +1,29 @@
+From 011de2e85813ff496a85404b30891352555de077 Mon Sep 17 00:00:00 2001
+From: Jonas <git@jonas-ott.de>
+Date: Fri, 17 Feb 2023 18:26:01 +0100
+Subject: [PATCH] cmake: use FindPython3 (#1983)
+
+@jonas-ott Thank you for contributing!
+
+Upstream: https://github.com/lensfun/lensfun/commit/011de2e85813ff496a85404b30891352555de077
+
+[Bernd: partial backport to version 0.3.4]
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ CMakeLists.txt       |  4 ++--
+ apps/CMakeLists.txt  | 55 +++++++++++++++++++++-----------------------
+ tests/CMakeLists.txt |  4 ++--
+ 3 files changed, 30 insertions(+), 33 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5ccb9976d..7bb7a6878 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,5 +1,5 @@
+-# require at least cmake 2.8.12
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR )
++# require at least cmake 3.12
++CMAKE_MINIMUM_REQUIRED(VERSION 3.12 FATAL_ERROR)
+ 
+ # path for helper modules
+ set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/cmake/modules")
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-02 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-02 16:38 [Buildroot] [PATCH 1/1] package/lensfun: fix build with cmake 4 Bernd Kuhls
2026-01-02 17:17 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.