1 |
commit: f96bd0cd2896fc8ea3a83404c90acd7a76991367 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Sat Jan 22 02:00:00 2022 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 15:19:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96bd0cd |
7 |
|
8 |
dev-libs/protobuf: Delete static assertion failing on HPPA. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831728 |
11 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
12 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
13 |
|
14 |
dev-libs/protobuf/protobuf-3.18.2.ebuild | 3 +++ |
15 |
dev-libs/protobuf/protobuf-3.19.3.ebuild | 3 +++ |
16 |
2 files changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/protobuf/protobuf-3.18.2.ebuild b/dev-libs/protobuf/protobuf-3.18.2.ebuild |
19 |
index 8abb87bc6f00..f0dbf35e965e 100644 |
20 |
--- a/dev-libs/protobuf/protobuf-3.18.2.ebuild |
21 |
+++ b/dev-libs/protobuf/protobuf-3.18.2.ebuild |
22 |
@@ -61,6 +61,9 @@ src_prepare() { |
23 |
# https://github.com/protocolbuffers/protobuf/issues/9392 |
24 |
sed -e "s/^AC_PROG_OBJC$/AS_CASE([\$target_os], [darwin*], [AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])/" -i configure.ac || die |
25 |
|
26 |
+ # https://github.com/protocolbuffers/protobuf/issues/9433 |
27 |
+ sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"\");$/d" -i src/google/protobuf/descriptor.cc || die |
28 |
+ |
29 |
eautoreconf |
30 |
} |
31 |
|
32 |
|
33 |
diff --git a/dev-libs/protobuf/protobuf-3.19.3.ebuild b/dev-libs/protobuf/protobuf-3.19.3.ebuild |
34 |
index 7d80384736a4..9171eaebedbc 100644 |
35 |
--- a/dev-libs/protobuf/protobuf-3.19.3.ebuild |
36 |
+++ b/dev-libs/protobuf/protobuf-3.19.3.ebuild |
37 |
@@ -61,6 +61,9 @@ src_prepare() { |
38 |
# https://github.com/protocolbuffers/protobuf/issues/9392 |
39 |
sed -e "s/^AC_PROG_OBJC$/AS_CASE([\$target_os], [darwin*], [AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])/" -i configure.ac || die |
40 |
|
41 |
+ # https://github.com/protocolbuffers/protobuf/issues/9433 |
42 |
+ sed -e "/^[[:space:]]*static_assert(alignof(T) <= 8, \"\");$/d" -i src/google/protobuf/descriptor.cc || die |
43 |
+ |
44 |
eautoreconf |
45 |
} |