All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 1/1] package/libcorrect: fix build with cmake 4
Date: Fri,  2 Jan 2026 18:50:32 +0100	[thread overview]
Message-ID: <20260102175032.1918906-1-bernd@kuhls.net> (raw)

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Patch 0001 was originally added by
https://patchwork.ozlabs.org/project/buildroot/patch/20251203215723.2323032-11-bernd@kuhls.net/
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

diff --git a/package/libcorrect/0001-bumped-cmake_minimum_required-to-Version-3.5.patch b/package/libcorrect/0001-bumped-cmake_minimum_required-to-Version-3.5.patch
new file mode 100644
index 0000000000..95e76ee43f
--- /dev/null
+++ b/package/libcorrect/0001-bumped-cmake_minimum_required-to-Version-3.5.patch
@@ -0,0 +1,24 @@
+From 8e779493cd1597b8a9c50ff48f97d4e5d10f96d6 Mon Sep 17 00:00:00 2001
+From: Tobias Wellnitz <tobias@dh1tw.de>
+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 <bernd@kuhls.net>
+---
+ 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)
-- 
2.47.3

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

             reply	other threads:[~2026-01-02 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-02 17:50 Bernd Kuhls [this message]
2026-01-02 20:52 ` [Buildroot] [PATCH 1/1] package/libcorrect: fix build with cmake 4 Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260102175032.1918906-1-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.