summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch
diff options
context:
space:
mode:
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>2022-05-23 10:20:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-23 21:31:31 +0100
commite50acb6e49ade1294429d3c3edf040e11fe28488 (patch)
treea361ee41010b0a5c8adb0c12062e953194f8d679 /meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch
parent7961559aa93c946f3d97cb7f79311b559adad90e (diff)
downloadpoky-e50acb6e49ade1294429d3c3edf040e11fe28488.tar.gz
systemd: Remove __compare_fn_t type in musl-specific patch
Since systemd v250, commit d8f16737005e ("sort-util: avoid using glibc's internal __compar_d_fn_t type"), __compare_fn_t type is no longer used. This patch removes that type in the musl-specific patch. (From OE-Core rev: 89c8a3f96dfeb444213fd6c523e1495c49065ccc) Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch b/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch
index 4b1fac06b5..680930ca3c 100644
--- a/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch
+++ b/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch
@@ -1,4 +1,4 @@
1From 55d48dd81e57add5b2d4b5a7d697c575a0f37ef5 Mon Sep 17 00:00:00 2001 1From 106b7bd7186c9d6c1dcd72bd4ca6457d3fa72d0b Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 25 Feb 2019 14:18:21 +0800 3Date: Mon, 25 Feb 2019 14:18:21 +0800
4Subject: [PATCH] src/basic/missing.h: check for missing strndupa 4Subject: [PATCH] src/basic/missing.h: check for missing strndupa
@@ -17,7 +17,6 @@ Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
17[rebased for systemd 244] 17[rebased for systemd 244]
18[Rebased for v247] 18[Rebased for v247]
19Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> 19Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
20
21--- 20---
22 meson.build | 1 + 21 meson.build | 1 +
23 src/backlight/backlight.c | 1 + 22 src/backlight/backlight.c | 1 +
@@ -74,7 +73,7 @@ Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
74 52 files changed, 63 insertions(+) 73 52 files changed, 63 insertions(+)
75 74
76diff --git a/meson.build b/meson.build 75diff --git a/meson.build b/meson.build
77index ae53345260..8c8a6c9bdf 100644 76index cb9936ee8b..7ab201c6d9 100644
78--- a/meson.build 77--- a/meson.build
79+++ b/meson.build 78+++ b/meson.build
80@@ -507,6 +507,7 @@ foreach ident : ['secure_getenv', '__secure_getenv'] 79@@ -507,6 +507,7 @@ foreach ident : ['secure_getenv', '__secure_getenv']
@@ -310,13 +309,13 @@ index 0b20d386d3..fccfb9268c 100644
310 #define IDLE_TIMEOUT_USEC (5*USEC_PER_SEC) 309 #define IDLE_TIMEOUT_USEC (5*USEC_PER_SEC)
311 #define IDLE_TIMEOUT2_USEC (1*USEC_PER_SEC) 310 #define IDLE_TIMEOUT2_USEC (1*USEC_PER_SEC)
312diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c 311diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
313index d3bf55acbe..63dd807b8a 100644 312index d054668b8e..9b4caa7651 100644
314--- a/src/core/kmod-setup.c 313--- a/src/core/kmod-setup.c
315+++ b/src/core/kmod-setup.c 314+++ b/src/core/kmod-setup.c
316@@ -11,6 +11,7 @@ 315@@ -10,6 +10,7 @@
316 #include "macro.h"
317 #include "recurse-dir.h" 317 #include "recurse-dir.h"
318 #include "string-util.h" 318 #include "string-util.h"
319 #include "missing_type.h"
320+#include "missing_stdlib.h" 319+#include "missing_stdlib.h"
321 320
322 #if HAVE_KMOD 321 #if HAVE_KMOD
@@ -705,3 +704,6 @@ index 1a384d6b38..0089833e3f 100644
705 704
706 #define RULES_DIRS (const char* const*) CONF_PATHS_STRV("udev/rules.d") 705 #define RULES_DIRS (const char* const*) CONF_PATHS_STRV("udev/rules.d")
707 706
707--
7082.34.1
709