Skip to content

Commit

Permalink
games-misc/fortune-mod-at-linux: fix iconv call on musl
Browse files Browse the repository at this point in the history
Use POSIX arguments & behaviour instead.

Closes: https://bugs.gentoo.org/828773
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Sep 17, 2022
1 parent 24d8345 commit 9b54a14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9b54a14

Please sign in to comment.