From 4fe1341cc3226fa721a5e818ba6eeb03c42a009c Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 19 May 2020 22:06:20 -0700 Subject: [PATCH] dev-libs/protobuf-c: compile-fix ensure new enough dev-libs/protobuf If the system has an old dev-libs/protobuf-2* installed, then it will not be upgraded before protobuf-c tries to compile, which leads to error: ``` t/issue330/issue330.protot/issue330/issue330.proto:1:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". ``` Signed-off-by: Robin H. Johnson --- dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild index d6909a46a388..3c3dc101011b 100644 --- a/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild +++ b/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild @@ -19,9 +19,9 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" IUSE="static-libs test" RESTRICT="!test? ( test )" -BDEPEND="dev-libs/protobuf:0 +BDEPEND=">=dev-libs/protobuf-3:0 virtual/pkgconfig[${MULTILIB_USEDEP}]" -DEPEND="dev-libs/protobuf:0=[${MULTILIB_USEDEP}]" +DEPEND=">=dev-libs/protobuf-3:0=[${MULTILIB_USEDEP}]" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" -- 2.26.2