Bläddra i källkod

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>
Thomas Petazzoni 1 år sedan
förälder
incheckning
849306c66d
2 ändrade filer med 13 tillägg och 7 borttagningar
  1. 1 1
      .checkpackageignore
  2. 12 6
      package/cdrkit/0001-fix-build-with-uClibc.patch

+ 1 - 1
.checkpackageignore

@@ -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

+ 12 - 6
package/cdrkit/0001-no-rcmd.patch → package/cdrkit/0001-fix-build-with-uClibc.patch

@@ -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
+