1 |
commit: d3c41d7f904245f97289639bdda54d3c78062de4 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Mon Sep 14 04:00:00 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 15 18:33:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c41d7f |
7 |
|
8 |
dev-libs/protobuf: Delete static assertion failing on HPPA. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/731002 |
11 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
dev-libs/protobuf/protobuf-3.12.4.ebuild | 3 +++ |
15 |
1 file changed, 3 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/protobuf/protobuf-3.12.4.ebuild b/dev-libs/protobuf/protobuf-3.12.4.ebuild |
18 |
index 857a68bcdef..c21840f05fc 100644 |
19 |
--- a/dev-libs/protobuf/protobuf-3.12.4.ebuild |
20 |
+++ b/dev-libs/protobuf/protobuf-3.12.4.ebuild |
21 |
@@ -46,6 +46,9 @@ src_prepare() { |
22 |
# https://github.com/protocolbuffers/protobuf/issues/7413 |
23 |
sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die |
24 |
|
25 |
+ # https://github.com/protocolbuffers/protobuf/issues/7682 |
26 |
+ sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"T is overaligned, see b\/151247138\");$/d" -i src/google/protobuf/arena.h || die |
27 |
+ |
28 |
eautoreconf |
29 |
} |