cross-localedef: Re-arrange patches
PATCH 1/2 cross-localedef: Re-arrange patches
Patches are currently, crossing across repo boundaries, between glibc and localedef, therefore it is better to divide the patches accordiningly, with this patchset makery patch is spun out since that applies to localedef alone.
There are no other code changes
---
.../glibc/cross-localedef-native_2.30.bb | 5 +-
...d-hardlink-resolver-from-util-linux.patch} | 1697 +++++++++--------
...hardlink-fix-ups-to-make-it-compile.patch} | 50 +-
.../0031-Add-hardlink-resolver-to-build.patch | 55 +
4 files changed, 945 insertions(+), 862 deletions(-)
rename meta/recipes-core/glibc/glibc/{add-cross-localedef-hardlink.patch => 0029-Add-hardlink-resolver-from-util-linux.patch} (92%)
rename meta/recipes-core/glibc/glibc/{allow-compile-separate-from-util-linux-hardlink.patch => 0030-hardlink-fix-ups-to-make-it-compile.patch} (85%)
create mode 100644 meta/recipes-core/glibc/glibc/0031-Add-hardlink-resolver-to-build.patchmeta/recipes-core/glibc/cross-localedef-native_2.30.bb +3 -2
@@ -30,8 +30,9 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \ file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \ file://0024-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ - file://add-cross-localedef-hardlink.patch \ - file://allow-compile-separate-from-util-linux-hardlink.patch \ + file://0029-Add-hardlink-resolver-from-util-linux.patch \ + file://0030-hardlink-fix-ups-to-make-it-compile.patch \ + file://0031-Add-hardlink-resolver-to-build.patch \ " # Makes for a rather long rev (22 characters), but... #
meta/recipes-core/glibc/glibc/0029-Add-hardlink-resolver-from-util-linux.patch renamed from meta/recipes-core/glibc/glibc/add-cross-localedef-hardlink.patch +856 -841
1,842 lines not on this page · raw message
meta/recipes-core/glibc/glibc/0030-hardlink-fix-ups-to-make-it-compile.patch renamed from meta/recipes-core/glibc/glibc/allow-compile-separate-from-util-linux-hardlink.patch +31 -19
95 lines not on this page · raw message
meta/recipes-core/glibc/glibc/0031-Add-hardlink-resolver-to-build.patch new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
2.24.0
PATCH 2/2 sysklogd: Fix 2.0.3 upgrade fallouts on musl
--- ...001-Remove-__BEGIN_DECLS-__END_DECLS.patch | 44 +++++++++++++++++++ .../0002-include-sys-types.h-for-off_t.patch | 29 ++++++++++++ meta/recipes-extended/sysklogd/sysklogd.inc | 2 + 3 files changed, 75 insertions(+) create mode 100644 meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch create mode 100644 meta/recipes-extended/sysklogd/files/0002-include-sys-types.h-for-off_t.patch
meta/recipes-extended/sysklogd/files/0001-Remove-__BEGIN_DECLS-__END_DECLS.patch new file +44 -0
@@ -0,0 +1,44 @@ +From 8c7995ac8da99eed55bf5410c558b1f0a74998d0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +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 <[email protected]> +--- + 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 +
meta/recipes-extended/sysklogd/files/0002-include-sys-types.h-for-off_t.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 10cff4ba2d09b30f8f1967f910e8ab08447a8add Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 7 Dec 2019 10:31:04 -0800 +Subject: [PATCH 2/2] include sys/types.h for off_t + +Fixes +error: unknown type name 'off_t' + +Upstream-Status: Submitted [https://github.com/troglobit/sysklogd/pull/10] +Signed-off-by: Khem Raj <[email protected]> +--- + src/compat.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/compat.h b/src/compat.h +index a867636..1ef1bf0 100644 +--- a/src/compat.h ++++ b/src/compat.h +@@ -34,6 +34,7 @@ + #include <pthread.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/types.h> + + /* + * The following macro is used to remove const cast-away warnings +-- +2.24.0 +
meta/recipes-extended/sysklogd/sysklogd.inc +2 -0
@@ -14,6 +14,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ inherit update-rc.d update-alternatives systemd autotools SRC_URI = "git://github.com/troglobit/sysklogd.git;nobranch=1 \ + file://0001-Remove-__BEGIN_DECLS-__END_DECLS.patch \ + file://0002-include-sys-types.h-for-off_t.patch \ file://sysklogd \ " S = "${WORKDIR}/git"
Signature · 1 line
2.24.0
✗ patchtest: failure for "cross-localedef: Re-arrange pa..." and 1 more
In reply to Khem Raj== Series Details ==
Series: "cross-localedef: Re-arrange pa..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/21515/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at d40853b10d)
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe