package/cdrkit: convert first patch to Git formatted one

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 347def2fd1f062be5d335d06aaaec577c5fa1d68)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2024-07-13 11:00:00 +02:00 committed by Peter Korsgaard
parent 310d70cb08
commit 849306c66d
2 changed files with 13 additions and 7 deletions

View File

@ -222,7 +222,7 @@ package/cache-calibrator/0001-Fix-conflicting-round-function.patch Upstream
package/cairo/0001-_arc_max_angle_for_tolerance_normalized-fix-infinite.patch Upstream
package/cairo/0002-Fix-mask-usage-in-image-compositor.patch Upstream
package/caps/0001-Fix-stdint-types-with-musl.patch Upstream
package/cdrkit/0001-no-rcmd.patch Upstream
package/cdrkit/0001-fix-build-with-uClibc.patch Upstream
package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch Upstream
package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch Upstream
package/cfm/S65cfm Indent Variables

View File

@ -1,17 +1,20 @@
[PATCH] fix build with uClibc
From 13823cfe42f33e947f8375f5a3f9ee177c699960 Mon Sep 17 00:00:00 2001
From: Peter Korsgaard <jacmet@sunsite.dk>
Date: Sat, 13 Jul 2024 10:57:57 +0200
Subject: [PATCH] fix build with uClibc
cdrkit unconditionally enables code using rcmd(3), which isn't available
on uClibc.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
include/xconfig.h.in | 1 -
include/xconfig.h.in | 1 -
1 file changed, 1 deletion(-)
Index: cdrkit-1.1.10/include/xconfig.h.in
===================================================================
--- cdrkit-1.1.10.orig/include/xconfig.h.in
+++ cdrkit-1.1.10/include/xconfig.h.in
diff --git a/include/xconfig.h.in b/include/xconfig.h.in
index c130600..00f2044 100644
--- a/include/xconfig.h.in
+++ b/include/xconfig.h.in
@@ -187,7 +187,6 @@
* they are placed before the large file tests.
*/
@ -20,3 +23,6 @@ Index: cdrkit-1.1.10/include/xconfig.h.in
#define HAVE_SOCKET 1 /* socket() is present in libc/libsocket */
#define HAVE_SOCKETPAIR 1 /* socketpair() is present in libc/libsocket */
#define HAVE_GETSERVBYNAME 1 /* getservbyname() is present in libc/libsocket */
--
2.45.2