mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user