diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-10-14 08:39:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-16 11:32:34 +0100 |
commit | b46037db4025dc75c2c1d3afcd6a07d732cb8b49 (patch) | |
tree | effea0f9d5eb8571ecd4d168060cfe1be82abd7c | |
parent | 91e0cfe0a7c6e622f076f6d7091cc774241021cc (diff) | |
download | poky-b46037db4025dc75c2c1d3afcd6a07d732cb8b49.tar.gz |
gcompat: Upgrade to 1.1.0 release
License-Update: Updated copyright years and contibutors [1]
Brings following changes
* b7bfe0b Update documentation for 1.1 release
* f0de9c6 CHANGELOG: Add pthread section
* 36f21a6 pthread: add pthread_mutexattr_[get|set]kind_np
* f23fb58 stdio: Hook fopen(3) to intercept /proc/self/exe
* 158f2b5 Update CHANGELOG for 1.1
* 4a4c840 fix path-searching for execvp
* 9dbbddc sysctl: Add __getauxval alias
* fbdd06c misc: add __libc_single_threaded
* f727ab7 locale: also override __newlocale/__duplocale
* 244110e random_r: fix null dereference when passed uninitialized buf
[1] https://git.adelielinux.org/adelie/gcompat/-/commit/b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6#0398ccd0f49298b10a3d76a47800d2ebecd49859
(From OE-Core rev: 6f123655c71992d75746e662a6b757de4a57cce7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch | 59 | ||||
-rw-r--r-- | meta/recipes-core/musl/gcompat_git.bb | 7 |
2 files changed, 3 insertions, 63 deletions
diff --git a/meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch b/meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch deleted file mode 100644 index ee292f3841..0000000000 --- a/meta/recipes-core/musl/gcompat/0001-auxv-new-module.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | From aecd42801904462501a890d173648e4e826eda19 Mon Sep 17 00:00:00 2001 | ||
2 | From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> | ||
3 | Date: Sat, 23 Oct 2021 23:29:40 -0500 | ||
4 | Subject: [PATCH] auxv: new module | ||
5 | |||
6 | Adds `__getauxval` wrapper, needed for Parallels Tools GUI installer. | ||
7 | |||
8 | Upstream-Status: Submitted [https://git.adelielinux.org/adelie/gcompat/-/commit/e860a38a88c7ea148ee15976136a1f83ea13f8e0] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | CHANGELOG.rst | 5 +++++ | ||
12 | Makefile | 1 + | ||
13 | libgcompat/auxv.c | 6 ++++++ | ||
14 | 3 files changed, 12 insertions(+) | ||
15 | create mode 100644 libgcompat/auxv.c | ||
16 | |||
17 | diff --git a/CHANGELOG.rst b/CHANGELOG.rst | ||
18 | index ce6859b..c3a9cee 100644 | ||
19 | --- a/CHANGELOG.rst | ||
20 | +++ b/CHANGELOG.rst | ||
21 | @@ -11,6 +11,11 @@ | ||
22 | 1.1 (202?-??-??) | ||
23 | ================ | ||
24 | |||
25 | +auxv | ||
26 | +---- | ||
27 | + | ||
28 | +* Add __getauxval wrapper for getauxval. | ||
29 | + | ||
30 | locale | ||
31 | ------ | ||
32 | |||
33 | diff --git a/Makefile b/Makefile | ||
34 | index cbb7634..1893cc1 100644 | ||
35 | --- a/Makefile | ||
36 | +++ b/Makefile | ||
37 | @@ -2,6 +2,7 @@ LIBGCOMPAT_INCLUDE = \ | ||
38 | libgcompat/alias.h \ | ||
39 | libgcompat/internal.h | ||
40 | LIBGCOMPAT_SRC = \ | ||
41 | + libgcompat/auxv.c \ | ||
42 | libgcompat/ctype.c \ | ||
43 | libgcompat/cxx_thread.c \ | ||
44 | libgcompat/dlfcn.c \ | ||
45 | diff --git a/libgcompat/auxv.c b/libgcompat/auxv.c | ||
46 | new file mode 100644 | ||
47 | index 0000000..01de376 | ||
48 | --- /dev/null | ||
49 | +++ b/libgcompat/auxv.c | ||
50 | @@ -0,0 +1,6 @@ | ||
51 | +#include <sys/auxv.h> /* getauxval */ | ||
52 | + | ||
53 | +unsigned long __getauxval(unsigned long value) | ||
54 | +{ | ||
55 | + return getauxval(value); | ||
56 | +} | ||
57 | -- | ||
58 | 2.37.3 | ||
59 | |||
diff --git a/meta/recipes-core/musl/gcompat_git.bb b/meta/recipes-core/musl/gcompat_git.bb index 3e5541ba91..40fe8c6a5f 100644 --- a/meta/recipes-core/musl/gcompat_git.bb +++ b/meta/recipes-core/musl/gcompat_git.bb | |||
@@ -5,17 +5,16 @@ SUMMARY = "A library which provides glibc-compatible APIs for use on musl libc s | |||
5 | HOMEPAGE = "https://git.adelielinux.org/adelie/gcompat" | 5 | HOMEPAGE = "https://git.adelielinux.org/adelie/gcompat" |
6 | 6 | ||
7 | LICENSE = "NCSA" | 7 | LICENSE = "NCSA" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eb33ef4af05a9c7602843afb7adfe792" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=802b1aed7330d90086be4de63a3188e3" |
9 | 9 | ||
10 | SRC_URI = "git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current \ | 10 | SRC_URI = "git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current \ |
11 | file://0001-auxv-new-module.patch \ | ||
12 | file://0001-Add-fcntl64-wrapper.patch \ | 11 | file://0001-Add-fcntl64-wrapper.patch \ |
13 | " | 12 | " |
14 | SRC_URI:append:powerpc = "\ | 13 | SRC_URI:append:powerpc = "\ |
15 | file://0001-make-Static-PIE-does-not-work-on-musl-ppc.patch \ | 14 | file://0001-make-Static-PIE-does-not-work-on-musl-ppc.patch \ |
16 | " | 15 | " |
17 | PV = "1.0.0+1.1+git" | 16 | PV = "1.1.0" |
18 | SRCREV = "c6921a1aa454bb87671f9bd1ecfe47d80d1620aa" | 17 | SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6" |
19 | 18 | ||
20 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
21 | 20 | ||