commit: 55996b02c62a3f77b97ad2d3e0a0bb5a4604263f Author: Ryan Qian <i <AT> bitbili <DOT> net> AuthorDate: Sat Dec 16 08:18:10 2023 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sat Dec 16 08:18:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=55996b02
sys-devel/binutils-config-5.1-r7: fix argument suppression logic for macOS Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> .../{binutils-config-5.1-r6.ebuild => binutils-config-5.1-r7.ebuild} | 0 sys-devel/binutils-config/files/ldwrapper.c | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-devel/binutils-config/binutils-config-5.1-r6.ebuild b/sys-devel/binutils-config/binutils-config-5.1-r7.ebuild similarity index 100% rename from sys-devel/binutils-config/binutils-config-5.1-r6.ebuild rename to 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 <grob...@gentoo.org> * Michael Haubenwallner <ha...@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; } }