summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-04 01:13:37 +0000
committerSam James <sam@gentoo.org>2022-11-04 02:22:15 +0000
commit21b5f65e3130f0a523e8e1d3367e187cfb814f1d (patch)
tree5651be04f4ba86ed8f0961de9972169e48807efb
parentapp-arch/zip: build with gnu89 (diff)
downloadgentoo-21b5f65e.tar.gz
gentoo-21b5f65e.tar.bz2
gentoo-21b5f65e.zip
app-arch/unzip: build with gnu89
Lots of dodgy prototypes. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-arch/unzip/unzip-6.0_p27-r1.ebuild (renamed from app-arch/unzip/unzip-6.0_p27.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-arch/unzip/unzip-6.0_p27.ebuild b/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