commit: 21b5f65e3130f0a523e8e1d3367e187cfb814f1d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 4 01:13:37 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 4 02:22:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b5f65e
app-arch/unzip: build with gnu89
Lots of dodgy prototypes.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-arch/unzip/{unzip-6.0_p27.ebuild => unzip-6.0_p27-r1.ebuild} | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-arch/unzip/unzip-6.0_p27.ebuild
b/app-arch/unzip/unzip-6.0_p27-r1.ebuild
similarity index 99%
rename from app-arch/unzip/unzip-6.0_p27.ebuild
rename to app-arch/unzip/unzip-6.0_p27-r1.ebuild
index a0eef4ef040a..c466394b30d4 100644
--- a/app-arch/unzip/unzip-6.0_p27.ebuild
+++ b/app-arch/unzip/unzip-6.0_p27-r1.ebuild
@@ -73,6 +73,8 @@ src_configure() {
*) die "Unknown target; please update the ebuild to handle
${CHOST} " ;;
esac
+ append-flags -std=gnu89
+
[[ ${CHOST} == *linux* ]] && append-cppflags -DNO_LCHMOD
use bzip2 && append-cppflags -DUSE_BZIP2
use unicode && append-cppflags -DUNICODE_SUPPORT -DUNICODE_WCHAR
-DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING