这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/cdrkit/0001-fix_cmakelists.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From d248d40e01e8b765215222286360fc904ba93671 Mon Sep 17 00:00:00 2001
From: xingguangcuican6666 <xingguangcuican666@foxmail.com>
Date: Sun, 26 Oct 2025 12:31:34 +0800
Subject: [PATCH 01/13] fix_cmakelists

---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57edba6..bf224e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 3.10)
PROJECT (cdrkit C)
SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit)

--
2.51.1

35 changes: 35 additions & 0 deletions packages/cdrkit/0002-remove_setuid_using.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From b4a44dff88fdb8fd2526c70d197037ec5190a7f7 Mon Sep 17 00:00:00 2001
From: xingguangcuican6666 <xingguangcuican666@foxmail.com>
Date: Sun, 26 Oct 2025 12:31:34 +0800
Subject: [PATCH 02/13] remove_setuid_using

---
include/xconfig.h.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/xconfig.h.in b/include/xconfig.h.in
index c130600..52a49c2 100644
--- a/include/xconfig.h.in
+++ b/include/xconfig.h.in
@@ -132,12 +132,12 @@
#cmakedefine HAVE_MLOCKALL
/* working mlockall() is present in libc */
#define HAVE_FLOCK 1 /* *BSD flock() is present in libc */
-#define HAVE_SETREUID 1 /* setreuid() is present in libc */
-#define HAVE_SETEUID 1 /* seteuid() is present in libc */
-#define HAVE_SETUID 1 /* setuid() is present in libc */
-#define HAVE_SETREGID 1 /* setregid() is present in libc */
-#define HAVE_SETEGID 1 /* setegid() is present in libc */
-#define HAVE_SETGID 1 /* setgid() is present in libc */
+//#define HAVE_SETREUID 1 /* setreuid() is present in libc */
+//#define HAVE_SETEUID 1 /* seteuid() is present in libc */
+//#define HAVE_SETUID 1 /* setuid() is present in libc */
+//#define HAVE_SETREGID 1 /* setregid() is present in libc */
+//#define HAVE_SETEGID 1 /* setegid() is present in libc */
+//#define HAVE_SETGID 1 /* setgid() is present in libc */
#define HAVE_TCGETATTR 1 /* tcgetattr() is present in libc */
#define HAVE_TCSETATTR 1 /* tcsetattr() is present in libc */
#define HAVE_GETHOSTID 1 /* gethostid() is present in libc */
--
2.51.1

Loading