Skip to contentSkip to conversation

package/libcorrect: fix build with cmake 4

PATCH Applied Bernd Kuhls 2 participants 2 messages Jan 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libcorrect: fix build with cmake 4

Fixes:
https://autobuild.buildroot.net/results/44b/44b881a3455ff6a77f29532f25c12c40c34ceac4/

---
Patch 0001 was originally added by
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
but was not part of buildroot commit 1a9e812d24c4e609c65e3dc39813e0c61b20966f

 ...make_minimum_required-to-Version-3.5.patch | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 package/libcorrect/0001-bumped-cmake_minimum_required-to-Version-3.5.patch
package/libcorrect/0001-bumped-cmake_minimum_required-to-Version-3.5.patch new file +24 -0
new file mode 100644
index 0000000000..95e76ee43f
@@ -0,0 +1,24 @@
+From 8e779493cd1597b8a9c50ff48f97d4e5d10f96d6 Mon Sep 17 00:00:00 2001
+From: Tobias Wellnitz <[email protected]>
+Date: Sat, 27 Sep 2025 23:51:48 +0200
+Subject: [PATCH] bumped cmake_minimum_required to Version 3.5
+
+Modern Cmake versions require cmake_mininum_required to be at least Version 3.5
+
+Upstream: https://github.com/quiet/libcorrect/pull/50
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2e8e07e..67ea044 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ project(Correct C)
+ include(CheckLibraryExists)
+ include(CheckIncludeFiles)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · On Fri, 2 Jan 2026 18:50:32 +0100 Bernd Kuhls <[email protected]> wrote:

Fixes:
https://autobuild.buildroot.net/results/44b/44b881a3455ff6a77f29532f25c12c40c34ceac4/

---
Patch 0001 was originally added by
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
but was not part of buildroot commit 1a9e812d24c4e609c65e3dc39813e0c61b20966f

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot