diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-09-25 11:04:11 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-27 11:50:34 +0100 |
| commit | b6f5656c623bdbfab0e766aabdef738cae43a57c (patch) | |
| tree | e02ec91ba45821e113f61837beeae6e21f6bc85f | |
| parent | a1950f2077fb394c5a9e5cea00ac4335159b7fa5 (diff) | |
| download | poky-b6f5656c623bdbfab0e766aabdef738cae43a57c.tar.gz | |
systemd: Drop two upstreamed musl patches
(From OE-Core rev: 7eea9e63a155c9ed30706cc7926a6728d629bd5e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 files changed, 0 insertions, 158 deletions
diff --git a/meta/recipes-core/systemd/systemd/0025-include-sys-file.h-for-LOCK_EX.patch b/meta/recipes-core/systemd/systemd/0025-include-sys-file.h-for-LOCK_EX.patch deleted file mode 100644 index 7827cc1403..0000000000 --- a/meta/recipes-core/systemd/systemd/0025-include-sys-file.h-for-LOCK_EX.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 2 Aug 2023 10:33:48 -0700 | ||
| 4 | Subject: [PATCH] include sys/file.h for LOCK_EX | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | | ../git/src/basic/user-util.c:708:30: error: use of undeclared identifier 'LOCK_EX'; did you mean 'LOCK_BSD'? | ||
| 8 | | 708 | r = unposix_lock(fd, LOCK_EX); | ||
| 9 | | | ^~~~~~~ | ||
| 10 | | | LOCK_BSD | ||
| 11 | |||
| 12 | Upstream-Status: Backport [https://github.com/systemd/systemd/pull/28647] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | src/basic/user-util.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/src/basic/user-util.c b/src/basic/user-util.c | ||
| 19 | index fe61a09005..5c39847733 100644 | ||
| 20 | --- a/src/basic/user-util.c | ||
| 21 | +++ b/src/basic/user-util.c | ||
| 22 | @@ -6,6 +6,7 @@ | ||
| 23 | #include <stdint.h> | ||
| 24 | #include <stdio.h> | ||
| 25 | #include <stdlib.h> | ||
| 26 | +#include <sys/file.h> | ||
| 27 | #include <sys/stat.h> | ||
| 28 | #include <unistd.h> | ||
| 29 | #include <utmp.h> | ||
diff --git a/meta/recipes-core/systemd/systemd/0026-test-test-sizeof-Include-sys-timex.h-for-struct-time.patch b/meta/recipes-core/systemd/systemd/0026-test-test-sizeof-Include-sys-timex.h-for-struct-time.patch deleted file mode 100644 index f2130c856f..0000000000 --- a/meta/recipes-core/systemd/systemd/0026-test-test-sizeof-Include-sys-timex.h-for-struct-time.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 2 Aug 2023 12:14:56 -0700 | ||
| 4 | Subject: [PATCH] test/test-sizeof: Include sys/timex.h for struct timex | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | |||
| 8 | ../git/src/test/test-sizeof.c:64:41: error: incomplete definition of type 'struct timex' | ||
| 9 | 64 | check(typeof(((struct timex *)0)->freq), SIZEOF_TIMEX_MEMBER); | ||
| 10 | | ~~~~~~~~~~~~~~~~~~~^ | ||
| 11 | |||
| 12 | Upstream-Status: Backport [https://github.com/systemd/systemd/pull/28651] | ||
| 13 | --- | ||
| 14 | src/test/test-sizeof.c | 1 + | ||
| 15 | 1 file changed, 1 insertion(+) | ||
| 16 | |||
| 17 | diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c | ||
| 18 | index 9d969cf8f1..b65c0bd370 100644 | ||
| 19 | --- a/src/test/test-sizeof.c | ||
| 20 | +++ b/src/test/test-sizeof.c | ||
| 21 | @@ -4,6 +4,7 @@ | ||
| 22 | #include <string.h> | ||
| 23 | #include <sys/resource.h> | ||
| 24 | #include <sys/socket.h> | ||
| 25 | +#include <sys/timex.h> | ||
| 26 | #include <sys/types.h> | ||
| 27 | |||
| 28 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ | ||
diff --git a/meta/recipes-core/systemd/systemd/0027-include-missing-sys-file.h-for-LOCK_EX.patch b/meta/recipes-core/systemd/systemd/0027-include-missing-sys-file.h-for-LOCK_EX.patch deleted file mode 100644 index 19014802e4..0000000000 --- a/meta/recipes-core/systemd/systemd/0027-include-missing-sys-file.h-for-LOCK_EX.patch +++ /dev/null | |||
| @@ -1,98 +0,0 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 2 Aug 2023 12:18:24 -0700 | ||
| 4 | Subject: [PATCH] include missing sys/file.h for LOCK_EX | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/systemd/systemd/pull/28651] | ||
| 7 | --- | ||
| 8 | src/core/execute.c | 1 + | ||
| 9 | src/shared/btrfs-util.c | 1 + | ||
| 10 | src/shared/copy.c | 1 + | ||
| 11 | src/test/test-btrfs.c | 1 + | ||
| 12 | src/test/test-fs-util.c | 1 + | ||
| 13 | src/test/test-lock-util.c | 1 + | ||
| 14 | src/vconsole/vconsole-setup.c | 1 + | ||
| 15 | 7 files changed, 7 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/src/core/execute.c b/src/core/execute.c | ||
| 18 | index 5b2ae861ff..2ebf19ffaa 100644 | ||
| 19 | --- a/src/core/execute.c | ||
| 20 | +++ b/src/core/execute.c | ||
| 21 | @@ -4,6 +4,7 @@ | ||
| 22 | #include <fcntl.h> | ||
| 23 | #include <poll.h> | ||
| 24 | #include <sys/eventfd.h> | ||
| 25 | +#include <sys/file.h> | ||
| 26 | #include <sys/ioctl.h> | ||
| 27 | #include <sys/mman.h> | ||
| 28 | #include <sys/mount.h> | ||
| 29 | diff --git a/src/shared/btrfs-util.c b/src/shared/btrfs-util.c | ||
| 30 | index 5128b308ab..3ded95ea82 100644 | ||
| 31 | --- a/src/shared/btrfs-util.c | ||
| 32 | +++ b/src/shared/btrfs-util.c | ||
| 33 | @@ -10,6 +10,7 @@ | ||
| 34 | #include <stddef.h> | ||
| 35 | #include <stdio.h> | ||
| 36 | #include <stdlib.h> | ||
| 37 | +#include <sys/file.h> | ||
| 38 | #include <sys/ioctl.h> | ||
| 39 | #include <sys/sysmacros.h> | ||
| 40 | #include <unistd.h> | ||
| 41 | diff --git a/src/shared/copy.c b/src/shared/copy.c | ||
| 42 | index 241a2d112b..7e47dc002c 100644 | ||
| 43 | --- a/src/shared/copy.c | ||
| 44 | +++ b/src/shared/copy.c | ||
| 45 | @@ -6,6 +6,7 @@ | ||
| 46 | #include <stddef.h> | ||
| 47 | #include <stdio.h> | ||
| 48 | #include <stdlib.h> | ||
| 49 | +#include <sys/file.h> | ||
| 50 | #include <sys/ioctl.h> | ||
| 51 | #include <sys/sendfile.h> | ||
| 52 | #include <sys/xattr.h> | ||
| 53 | diff --git a/src/test/test-btrfs.c b/src/test/test-btrfs.c | ||
| 54 | index 95b7ef25d8..ba09563058 100644 | ||
| 55 | --- a/src/test/test-btrfs.c | ||
| 56 | +++ b/src/test/test-btrfs.c | ||
| 57 | @@ -1,6 +1,7 @@ | ||
| 58 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | ||
| 59 | |||
| 60 | #include <fcntl.h> | ||
| 61 | +#include <sys/file.h> | ||
| 62 | |||
| 63 | #include "btrfs-util.h" | ||
| 64 | #include "fd-util.h" | ||
| 65 | diff --git a/src/test/test-fs-util.c b/src/test/test-fs-util.c | ||
| 66 | index 1beba916a4..5de1eea0d4 100644 | ||
| 67 | --- a/src/test/test-fs-util.c | ||
| 68 | +++ b/src/test/test-fs-util.c | ||
| 69 | @@ -1,5 +1,6 @@ | ||
| 70 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | ||
| 71 | |||
| 72 | +#include <sys/file.h> | ||
| 73 | #include <unistd.h> | ||
| 74 | |||
| 75 | #include "alloc-util.h" | ||
| 76 | diff --git a/src/test/test-lock-util.c b/src/test/test-lock-util.c | ||
| 77 | index a9a1b438ff..28fc54a5d6 100644 | ||
| 78 | --- a/src/test/test-lock-util.c | ||
| 79 | +++ b/src/test/test-lock-util.c | ||
| 80 | @@ -1,5 +1,6 @@ | ||
| 81 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | ||
| 82 | |||
| 83 | +#include <sys/file.h> | ||
| 84 | #include <unistd.h> | ||
| 85 | |||
| 86 | #include "fd-util.h" | ||
| 87 | diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c | ||
| 88 | index d57d8b4001..86348d08c1 100644 | ||
| 89 | --- a/src/vconsole/vconsole-setup.c | ||
| 90 | +++ b/src/vconsole/vconsole-setup.c | ||
| 91 | @@ -11,6 +11,7 @@ | ||
| 92 | #include <linux/vt.h> | ||
| 93 | #include <stdbool.h> | ||
| 94 | #include <stdlib.h> | ||
| 95 | +#include <sys/file.h> | ||
| 96 | #include <sys/ioctl.h> | ||
| 97 | #include <sysexits.h> | ||
| 98 | #include <termios.h> | ||
diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb index 8d5cf13095..77724eb822 100644 --- a/meta/recipes-core/systemd/systemd_254.4.bb +++ b/meta/recipes-core/systemd/systemd_254.4.bb | |||
| @@ -54,9 +54,6 @@ SRC_URI_MUSL = "\ | |||
| 54 | file://0001-Adjust-for-musl-headers.patch \ | 54 | file://0001-Adjust-for-musl-headers.patch \ |
| 55 | file://0006-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch \ | 55 | file://0006-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch \ |
| 56 | file://0003-errno-util-Make-STRERROR-portable-for-musl.patch \ | 56 | file://0003-errno-util-Make-STRERROR-portable-for-musl.patch \ |
| 57 | file://0025-include-sys-file.h-for-LOCK_EX.patch \ | ||
| 58 | file://0026-test-test-sizeof-Include-sys-timex.h-for-struct-time.patch \ | ||
| 59 | file://0027-include-missing-sys-file.h-for-LOCK_EX.patch \ | ||
| 60 | file://0028-sd-event-Make-malloc_trim-conditional-on-glibc.patch \ | 57 | file://0028-sd-event-Make-malloc_trim-conditional-on-glibc.patch \ |
| 61 | file://0029-shared-Do-not-use-malloc_info-on-musl.patch \ | 58 | file://0029-shared-Do-not-use-malloc_info-on-musl.patch \ |
| 62 | " | 59 | " |
