diff options
author | Sam James <sam@gentoo.org> | 2022-09-17 02:27:29 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-17 02:27:29 +0100 |
commit | 9b54a1482d8e8e2cc3e5c04940a90c10bc53bbe5 (patch) | |
tree | 616cbdacba27d02122f584c6790627bc7b0c3e98 /games-misc/fortune-mod-at-linux | |
parent | games-misc/fortune-mod-cs: fix iconv call on musl (diff) | |
download | gentoo-9b54a1482d8e8e2cc3e5c04940a90c10bc53bbe5.tar.gz gentoo-9b54a1482d8e8e2cc3e5c04940a90c10bc53bbe5.tar.bz2 gentoo-9b54a1482d8e8e2cc3e5c04940a90c10bc53bbe5.zip |
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 <sam@gentoo.org>
Diffstat (limited to 'games-misc/fortune-mod-at-linux')
-rw-r--r-- | games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
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 |