From ae04f1307e1635b63a35637acc436ca4c0aba6c1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 14 Nov 2022 07:15:33 +0000 Subject: [PATCH] app-arch/unzip: Sync with Gentoo It's from Gentoo commit 21b5f65e3130f0a523e8e1d3367e187cfb814f1d. --- .../unzip/{unzip-6.0_p27.ebuild => unzip-6.0_p27-r1.ebuild} | 2 ++ 1 file changed, 2 insertions(+) rename sdk_container/src/third_party/portage-stable/app-arch/unzip/{unzip-6.0_p27.ebuild => unzip-6.0_p27-r1.ebuild} (99%) diff --git a/sdk_container/src/third_party/portage-stable/app-arch/unzip/unzip-6.0_p27.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/unzip/unzip-6.0_p27-r1.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/app-arch/unzip/unzip-6.0_p27.ebuild rename to sdk_container/src/third_party/portage-stable/app-arch/unzip/unzip-6.0_p27-r1.ebuild index a0eef4ef04..c466394b30 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/unzip/unzip-6.0_p27.ebuild +++ b/sdk_container/src/third_party/portage-stable/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