]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: update 0008-add-missing-FTW_-macros-for-musl.patch
authorPavel Zhukov <pavel@zhukoff.net>
Thu, 16 Jun 2022 05:58:28 +0000 (07:58 +0200)
committerSteve Sakoman <steve@sakoman.com>
Thu, 16 Jun 2022 23:43:37 +0000 (13:43 -1000)
Fixes fuzz warning with insane class ihnerited introduced in 4c3f51142b
Kirkstone specific, master has been updated to 251.2 and FTBFS with musl [Yocto 14838]

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/systemd/systemd/0008-add-missing-FTW_-macros-for-musl.patch

index 4cce9a3fe6aded13ea9996462f60cc04ee64ba50..0c0d3d0b6236349ea73084c6b6d50382898020b8 100644 (file)
@@ -21,12 +21,12 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
  3 files changed, 22 insertions(+)
 
 diff --git a/src/basic/missing_type.h b/src/basic/missing_type.h
-index aeaf6ad5ec..3df1084ef2 100644
+index 6c0456349d..5140892e22 100644
 --- a/src/basic/missing_type.h
 +++ b/src/basic/missing_type.h
-@@ -19,3 +19,23 @@ typedef int (*comparison_fn_t)(const void *, const void *);
- #define __COMPAR_FN_T
- typedef int (*__compar_fn_t)(const void *, const void *);
+@@ -14,3 +14,23 @@
+ #ifndef __GLIBC__
+ typedef int (*comparison_fn_t)(const void *, const void *);
  #endif
 +
 +#ifndef FTW_ACTIONRETVAL