Diff protobuf-3.15.8 with a protobuf-9999

/usr/portage/dev-libs/protobuf/protobuf-9999.ebuild 2021-05-09 17:09:00.000000000 +0300
21 21
fi
22 22

  
23 23
LICENSE="BSD"
24
SLOT="0/26"
25
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
24
SLOT="0/27"
25
KEYWORDS=""
26 26
IUSE="emacs examples static-libs test zlib"
27 27
RESTRICT="!test? ( test )"
28 28

  
......
42 42

  
43 43
src_prepare() {
44 44
	default
45

  
46
	# https://github.com/protocolbuffers/protobuf/issues/7413
47
	sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die
48

  
49
	# https://github.com/protocolbuffers/protobuf/issues/8082
50
	sed -e "/^TEST_F(IoTest, LargeOutput) {$/,/^}$/d" -i src/google/protobuf/io/zero_copy_stream_unittest.cc || die
51

  
52 45
	eautoreconf
53 46
}
54 47

  
55 48
src_configure() {
56 49
	append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
57

  
58
	if tc-ld-is-gold; then
59
		# https://sourceware.org/bugzilla/show_bug.cgi?id=24527
60
		tc-ld-disable-gold
61
	fi
62

  
63 50
	multilib-minimal_src_configure
64 51
}
65 52

  
Thank you!