summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2020-09-14 04:00:00 +0000
committerMike Gilbert <floppym@gentoo.org>2020-09-15 14:33:38 -0400
commitd3c41d7f904245f97289639bdda54d3c78062de4 (patch)
tree0e0c5aaf5afd5cfd5aac8cf17fe8fff779e372e5 /dev-libs/protobuf
parentdev-python/protobuf-python: Version bump (3.12.4). (diff)
downloadgentoo-d3c41d7f904245f97289639bdda54d3c78062de4.tar.gz
gentoo-d3c41d7f904245f97289639bdda54d3c78062de4.tar.bz2
gentoo-d3c41d7f904245f97289639bdda54d3c78062de4.zip
dev-libs/protobuf: Delete static assertion failing on HPPA.
Closes: https://bugs.gentoo.org/731002 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/protobuf')
-rw-r--r--dev-libs/protobuf/protobuf-3.12.4.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-libs/protobuf/protobuf-3.12.4.ebuild b/dev-libs/protobuf/protobuf-3.12.4.ebuild
index 857a68bcdef2..c21840f05fc8 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
}