rsyslog: refresh patches
PATCH 1/1 rsyslog: refresh patches
Refresh patches with devtool command to fix do_patch warning. Drop 0001-Undefine-GLOB_BRACE.patch since it had been fixed upstream.
Signed-off-by Yi Zhao <[email protected]>
--- .../rsyslog/rsyslog/0001-Include-sys-time-h.patch | 6 +- .../rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch | 35 ----------- .../rsyslog/rsyslog-fix-ptest-not-finish.patch | 68 ++++++++++++++-------- .../rsyslog/use-pkgconfig-to-check-libgcrypt.patch | 12 ++-- meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb | 1 - 5 files changed, 52 insertions(+), 70 deletions(-) delete mode 100644 meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch
meta-oe/recipes-extended/rsyslog/rsyslog/0001-Include-sys-time-h.patch +2 -4
@@ -1,4 +1,4 @@ -From 3c3c21f4735eb215206273bc714c57c969926d3d Mon Sep 17 00:00:00 2001 +From 9739095de6ae5f844354756ae968f5f8864eb3e3 Mon Sep 17 00:00:00 2001 From: Ming Liu <[email protected]> Date: Sun, 26 Feb 2017 14:10:21 +0100 Subject: [PATCH] Include sys/time.h
@@ -8,6 +8,7 @@ struct timeval is defined in sys/time.h with a musl libc. Upstream-Status: Inappropriate [musl libc specific] Signed-off-by: Ming Liu <[email protected]> + --- tests/msleep.c | 4 ---- 1 file changed, 4 deletions(-)
@@ -28,6 +29,3 @@ index 26a8206..ca818be 100644 int main(int argc, char *argv[]) { --- -1.9.1 -
meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 6746e3a9615d1566bf228e9012d0841b15178810 Mon Sep 17 00:00:00 2001 -From: Ming Liu <[email protected]> -Date: Sun, 26 Feb 2017 13:50:33 +0100 -Subject: [PATCH] Undefine GLOB_BRACE - -GLOB_BRACE is not defined in posix and thus not implemented in musl libc. - -Fixed by defining it to 0 if it is undefined. - -Upstream-Status: Inappropriate [musl libc specific] - -Signed-off-by: Ming Liu <[email protected]> ---- - plugins/imfile/imfile.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c -index d20471f..f9aff81 100644 ---- a/plugins/imfile/imfile.c -+++ b/plugins/imfile/imfile.c -@@ -85,6 +85,11 @@ static int bLegacyCnfModGlobalsPermitted;/* are legacy module-global config para - - #define ADD_METADATA_UNSPECIFIED -1 - -+/* fixes build with musl libc */ -+#ifndef GLOB_BRACE -+#define GLOB_BRACE 0 -+#endif -+ - /* this structure is used in pure polling mode as well one of the support - * structures for inotify. - */ --- -1.9.1 -
meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog-fix-ptest-not-finish.patch +45 -23
115 lines not on this page · raw message
meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch +5 -7
@@ -1,5 +1,5 @@ -From 5c3ba79177f7d1763db33c4358af2af60ff214b7 Mon Sep 17 00:00:00 2001 -From: Roy Li <[email protected]> +From d0852006bf3d305e8984b85b41997d43d4476937 Mon Sep 17 00:00:00 2001 +From: Roy Li <[email protected]> Date: Wed, 18 Jun 2014 13:46:52 +0800 Subject: [PATCH] use pkgconfig to check libgcrypt
@@ -10,15 +10,16 @@ libgcrypt does no longer provide libgcrypt-config, and provide Signed-off-by: Roy Li <[email protected]> Signed-off-by: Wenzong Fan <[email protected]> + --- configure.ac | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/configure.ac b/configure.ac -index 0f31869..d35db42 100644 +index 62178c3..b56c9c7 100644 --- a/configure.ac +++ b/configure.ac -@@ -777,20 +777,7 @@ AC_ARG_ENABLE(libgcrypt, +@@ -889,20 +889,7 @@ AC_ARG_ENABLE(libgcrypt, [enable_libgcrypt=yes] ) if test "x$enable_libgcrypt" = "xyes"; then
@@ -40,6 +41,3 @@ index 0f31869..d35db42 100644 fi AM_CONDITIONAL(ENABLE_LIBGCRYPT, test x$enable_libgcrypt = xyes) AC_SUBST(LIBGCRYPT_CFLAGS) --- -2.8.1 -
meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb +0 -1
@@ -27,7 +27,6 @@ SRC_URI = "http://www.rsyslog.com/download/files/download/rsyslog/${BPN}-${PV}.t " SRC_URI_append_libc-musl = " \ - file://0001-Undefine-GLOB_BRACE.patch \ file://0001-Include-sys-time-h.patch \ "
Signature · 1 line
2.7.4