diff options
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn/0001-linker-script-Do-not-export-_IO_stdin_used.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn/0001-linker-script-Do-not-export-_IO_stdin_used.patch new file mode 100644 index 0000000000..eafd497ae2 --- /dev/null +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn/0001-linker-script-Do-not-export-_IO_stdin_used.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From e09ba80e342b3b24bb2a46e11dae1c30cc61c75c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 3 Sep 2023 08:48:42 -0700 | ||
| 4 | Subject: [PATCH] linker-script: Do not export _IO_stdin_used | ||
| 5 | |||
| 6 | This is glibc specific toolhain issue, it should have been handled in | ||
| 7 | toolchain instead of exposing to applications. This was done to fix | ||
| 8 | |||
| 9 | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835550 | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | linker-script-binary.ver | 1 - | ||
| 15 | 1 file changed, 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/linker-script-binary.ver b/linker-script-binary.ver | ||
| 18 | index a2780c0..f030d35 100644 | ||
| 19 | --- a/linker-script-binary.ver | ||
| 20 | +++ b/linker-script-binary.ver | ||
| 21 | @@ -1,6 +1,5 @@ | ||
| 22 | { | ||
| 23 | global: | ||
| 24 | - _IO_stdin_used; | ||
| 25 | local: | ||
| 26 | *; | ||
| 27 | }; | ||
| 28 | -- | ||
| 29 | 2.42.0 | ||
| 30 | |||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb index 3114731f2a..024ef39361 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb | |||
| @@ -10,6 +10,8 @@ inherit gnomebase useradd gettext systemd | |||
| 10 | 10 | ||
| 11 | SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/NetworkManager-openvpn-${PV}.tar.xz" | 11 | SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/NetworkManager-openvpn-${PV}.tar.xz" |
| 12 | 12 | ||
| 13 | SRC_URI:append:libc-musl = " file://0001-linker-script-Do-not-export-_IO_stdin_used.patch" | ||
| 14 | |||
| 13 | SRC_URI[sha256sum] = "62f0f2a8782221b923f212ac2a8ebbc1002efd6a90ee945dad4adfb56d076d21" | 15 | SRC_URI[sha256sum] = "62f0f2a8782221b923f212ac2a8ebbc1002efd6a90ee945dad4adfb56d076d21" |
| 14 | 16 | ||
| 15 | S = "${WORKDIR}/NetworkManager-openvpn-${PV}" | 17 | S = "${WORKDIR}/NetworkManager-openvpn-${PV}" |
