From 9b54a1482d8e8e2cc3e5c04940a90c10bc53bbe5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 17 Sep 2022 02:27:29 +0100 Subject: games-misc/fortune-mod-at-linux: fix iconv call on musl Use POSIX arguments & behaviour instead. Closes: https://bugs.gentoo.org/828773 Signed-off-by: Sam James --- games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games-misc') diff --git a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild index 7062a005ca13..34fa6affa30e 100644 --- a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild +++ b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,7 +21,7 @@ BDEPEND=" unicode? ( virtual/libiconv )" src_compile() { # bug #322111 if use unicode ; then - iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8 || die + iconv -f iso-8859-1 -t utf8 at.linux > at.linux-utf8 || die mv at.linux-utf8 at.linux || die strfile -s at.linux || die fi -- cgit v1.2.3-65-gdbad