diff options
author | Ryan Qian <i@bitbili.net> | 2023-12-16 09:18:10 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2023-12-16 09:18:10 +0100 |
commit | 55996b02c62a3f77b97ad2d3e0a0bb5a4604263f (patch) | |
tree | 08db6dc94755d3299d4bb1944d7166ea39c640aa /sys-devel | |
parent | sys-apps/portage-3.0.56: version bump (diff) | |
download | prefix-55996b02c62a3f77b97ad2d3e0a0bb5a4604263f.tar.gz prefix-55996b02c62a3f77b97ad2d3e0a0bb5a4604263f.tar.bz2 prefix-55996b02c62a3f77b97ad2d3e0a0bb5a4604263f.zip |
sys-devel/binutils-config-5.1-r7: fix argument suppression logic for macOS
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils-config/binutils-config-5.1-r7.ebuild (renamed from sys-devel/binutils-config/binutils-config-5.1-r6.ebuild) | 0 | ||||
-rw-r--r-- | sys-devel/binutils-config/files/ldwrapper.c | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/binutils-config/binutils-config-5.1-r6.ebuild b/sys-devel/binutils-config/binutils-config-5.1-r7.ebuild index a26ff944b0..a26ff944b0 100644 --- a/sys-devel/binutils-config/binutils-config-5.1-r6.ebuild +++ b/sys-devel/binutils-config/binutils-config-5.1-r7.ebuild diff --git a/sys-devel/binutils-config/files/ldwrapper.c b/sys-devel/binutils-config/files/ldwrapper.c index 16932af5d6..a1639ca5aa 100644 --- a/sys-devel/binutils-config/files/ldwrapper.c +++ b/sys-devel/binutils-config/files/ldwrapper.c @@ -1,5 +1,5 @@ /* - * Copyright 1999-2021 Gentoo Authors + * Copyright 1999-2023 Gentoo Authors * Distributed under the terms of the GNU General Public License v2 * Authors: Fabian Groffen <grobian@gentoo.org> * Michael Haubenwallner <haubi@gentoo.org> @@ -430,6 +430,7 @@ main(int argc, char *argv[]) { i++; j--; + k -= 2; continue; } if (strcmp(argv[i], "-platform_version") == 0 && @@ -437,6 +438,7 @@ main(int argc, char *argv[]) { i += 3; j--; + k -= 4; continue; } } |