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