summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb1
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch37
2 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
index 4b57957cfc..16b15f745e 100644
--- a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
+++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
@@ -14,6 +14,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
14 file://0001-add-new-option-eltorito-platform.patch \ 14 file://0001-add-new-option-eltorito-platform.patch \
15 file://0001-genisoimage-Add-checksum.h-and-md5.h-for-function-pr.patch \ 15 file://0001-genisoimage-Add-checksum.h-and-md5.h-for-function-pr.patch \
16 file://fix-incompatible-pointer-type-error.patch \ 16 file://fix-incompatible-pointer-type-error.patch \
17 file://0003-allow-build-with-cmake-4.patch \
17 " 18 "
18SRC_URI:append:class-nativesdk = " \ 19SRC_URI:append:class-nativesdk = " \
19 file://0001-install-netscsid-to-bin-for-nativesdk.patch \ 20 file://0001-install-netscsid-to-bin-for-nativesdk.patch \
diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch b/meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch
new file mode 100644
index 0000000000..bcab44a5a4
--- /dev/null
+++ b/meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch
@@ -0,0 +1,37 @@
1From 4ce4c135f83f9d7894ccbb0901391f5cbf2b1935 Mon Sep 17 00:00:00 2001
2From: Alper Ak <alperyasinak1@gmail.com>
3Date: Mon, 7 Jul 2025 21:34:32 +0300
4Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
5 compatibility
6
7| CMake Error in CMakeLists.txt:
8| No cmake_minimum_required command is present. A line of code such as
9|
10| cmake_minimum_required(VERSION 4.0)
11|
12| should be added at the top of the file. The version specified may be lower
13| if you wish to support older CMake versions for this project. For more
14| information run "cmake --help-policy CMP0000".
15|
16|
17| -- Configuring incomplete, errors occurred!
18
19Upstream-Status: Pending
20
21Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
22---
23 CMakeLists.txt | 1 +
24 1 file changed, 1 insertion(+)
25
26diff --git a/CMakeLists.txt b/CMakeLists.txt
27index 57edba6..bdfb8bb 100644
28--- a/CMakeLists.txt
29+++ b/CMakeLists.txt
30@@ -1,3 +1,4 @@
31+cmake_minimum_required(VERSION 3.5)
32 PROJECT (cdrkit C)
33 SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit)
34
35--
362.43.0
37