commit:     d3c41d7f904245f97289639bdda54d3c78062de4
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Sep 14 04:00:00 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 18:33:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c41d7f

dev-libs/protobuf: Delete static assertion failing on HPPA.

Closes: https://bugs.gentoo.org/731002
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-libs/protobuf/protobuf-3.12.4.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/protobuf/protobuf-3.12.4.ebuild 
b/dev-libs/protobuf/protobuf-3.12.4.ebuild
index 857a68bcdef..c21840f05fc 100644
--- a/dev-libs/protobuf/protobuf-3.12.4.ebuild
+++ b/dev-libs/protobuf/protobuf-3.12.4.ebuild
@@ -46,6 +46,9 @@ src_prepare() {
        # https://github.com/protocolbuffers/protobuf/issues/7413
        sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die
 
+       # https://github.com/protocolbuffers/protobuf/issues/7682
+       sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"T is 
overaligned, see b\/151247138\");$/d" -i src/google/protobuf/arena.h || die
+
        eautoreconf
 }
 

Reply via email to