summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2022-01-22 02:00:00 +0000
committerYixun Lan <dlan@gentoo.org>2022-01-29 23:19:12 +0800
commitf96bd0cd2896fc8ea3a83404c90acd7a76991367 (patch)
tree18e6653d76426d2ca3c7c2396c76d0c69ec855d9 /dev-libs/protobuf
parentdev-libs/utfcpp: Version bump (3.2.1). (diff)
downloadgentoo-f96bd0cd2896fc8ea3a83404c90acd7a76991367.tar.gz
gentoo-f96bd0cd2896fc8ea3a83404c90acd7a76991367.tar.bz2
gentoo-f96bd0cd2896fc8ea3a83404c90acd7a76991367.zip
dev-libs/protobuf: Delete static assertion failing on HPPA.
Closes: https://bugs.gentoo.org/831728 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs/protobuf')
-rw-r--r--dev-libs/protobuf/protobuf-3.18.2.ebuild3
-rw-r--r--dev-libs/protobuf/protobuf-3.19.3.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/protobuf/protobuf-3.18.2.ebuild b/dev-libs/protobuf/protobuf-3.18.2.ebuild
index 8abb87bc6f00..f0dbf35e965e 100644
--- a/dev-libs/protobuf/protobuf-3.18.2.ebuild
+++ b/dev-libs/protobuf/protobuf-3.18.2.ebuild
@@ -61,6 +61,9 @@ src_prepare() {
# https://github.com/protocolbuffers/protobuf/issues/9392
sed -e "s/^AC_PROG_OBJC$/AS_CASE([\$target_os], [darwin*], [AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])/" -i configure.ac || die
+ # https://github.com/protocolbuffers/protobuf/issues/9433
+ sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"\");$/d" -i src/google/protobuf/descriptor.cc || die
+
eautoreconf
}
diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild b/dev-libs/protobuf/protobuf-3.19.3.ebuild
index 7d80384736a4..9171eaebedbc 100644
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild
@@ -61,6 +61,9 @@ src_prepare() {
# https://github.com/protocolbuffers/protobuf/issues/9392
sed -e "s/^AC_PROG_OBJC$/AS_CASE([\$target_os], [darwin*], [AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])/" -i configure.ac || die
+ # https://github.com/protocolbuffers/protobuf/issues/9433
+ sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"\");$/d" -i src/google/protobuf/descriptor.cc || die
+
eautoreconf
}