diff options
author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-03-01 14:14:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-02 20:57:24 +0000 |
commit | c28457322eb6a141d0e8c66fc1c7eee681c0fe88 (patch) | |
tree | 4bf8812cc7aa1592bee308ff7d2fd51d5ac5d425 /meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch | |
parent | 2497b28b14bd70c0a4c94fc22a74ea62c527b410 (diff) | |
download | openembedded-core-contrib-c28457322eb6a141d0e8c66fc1c7eee681c0fe88.tar.gz |
sysklogd: upgrade 2.0.3 -> 2.1.1
License-Update: Relicensed under the BSD-3-Clause license since v2.1
Remove patches applied upstream.
Since version v2.1, klogd was removed from the sysklogd project since
syslogd performs logging of kernel messages.
So, this patch remove klogd support.
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch')
-rw-r--r-- | meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch b/meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch deleted file mode 100644 index b2d45c0a0a..0000000000 --- a/meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 8c7995ac8da99eed55bf5410c558b1f0a74998d0 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Sat, 7 Dec 2019 10:27:28 -0800 -Subject: [PATCH 1/2] Remove __BEGIN_DECLS/__END_DECLS - -The __BEGIN_DECLS and __END_DECLS are internal identifiers in glibc and -are not defined in any standard. Using them fails build on musl -libc, its better to avoid them - -Upstream-Status: Submitted [https://github.com/troglobit/sysklogd/pull/10] -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - src/syslog.h | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/syslog.h b/src/syslog.h -index 4fb7627..120a18f 100644 ---- a/src/syslog.h -+++ b/src/syslog.h -@@ -221,7 +221,9 @@ struct syslog_data { - .log_mask = 0xff, \ - } - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - void openlog (const char *, int, int); - void closelog (void); - -@@ -245,7 +247,9 @@ void syslogp_r (int, struct syslog_data *, const char *, const char *, - const char *, ...); - void vsyslogp_r (int, struct syslog_data *, const char *, const char *, - const char *, va_list); --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #else /* !__KERNEL__ */ - --- -2.24.0 - |