summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-05-19 22:06:20 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-05-19 22:08:03 -0700
commit4fe1341cc3226fa721a5e818ba6eeb03c42a009c (patch)
tree8c54387a7ab3d7d5b8b0d3b8c9ab6360d2a3e984
parentdev-python/tenacity: 6.1.0 ussuri bump (diff)
downloadgentoo-4fe1341cc3226fa721a5e818ba6eeb03c42a009c.tar.gz
gentoo-4fe1341cc3226fa721a5e818ba6eeb03c42a009c.tar.bz2
gentoo-4fe1341cc3226fa721a5e818ba6eeb03c42a009c.zip
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 <robbat2@gentoo.org>
-rw-r--r--dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild4
1 files 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}"