diff options
author | Sam James <sam@gentoo.org> | 2022-09-17 02:26:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-17 02:26:21 +0100 |
commit | 24d8345bb33fc42ebc0edeea6313dffd2c859255 (patch) | |
tree | 7f7d8fe07708347bb14ccdfccd7feb16436929f8 /games-misc | |
parent | x11-misc/xdaliclock: add 2.47 (diff) | |
download | gentoo-24d8345bb33fc42ebc0edeea6313dffd2c859255.tar.gz gentoo-24d8345bb33fc42ebc0edeea6313dffd2c859255.tar.bz2 gentoo-24d8345bb33fc42ebc0edeea6313dffd2c859255.zip |
games-misc/fortune-mod-cs: fix iconv call on musl
Use POSIX arguments & behaviour instead.
Closes: https://bugs.gentoo.org/830058
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild index 7a497b77942b..cd8ba47efbac 100644 --- a/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild +++ b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.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 @@ -27,7 +27,7 @@ src_compile() { local f for f in [[:lower:]]* ; do if use unicode ; then - iconv --from-code iso-8859-2 --to-code utf8 -o${f}.utf8 ${f} || die + iconv -f iso-8859-2 -t utf8 ${f} > ${f}.utf8 || die mv ${f}.utf8 ${f} || die fi strfile -s ${f} || die "strfile ${f} failed" |