mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user