From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01A2B1382C5 for ; Wed, 20 May 2020 05:08:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB466E0874; Wed, 20 May 2020 05:08:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2284E0874 for ; Wed, 20 May 2020 05:08:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 970CF34F049 for ; Wed, 20 May 2020 05:08:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B632253 for ; Wed, 20 May 2020 05:08:05 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1589951283.4fe1341cc3226fa721a5e818ba6eeb03c42a009c.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/protobuf-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild X-VCS-Directories: dev-libs/protobuf-c/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 4fe1341cc3226fa721a5e818ba6eeb03c42a009c X-VCS-Branch: master Date: Wed, 20 May 2020 05:08:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0703fd31-e684-4f49-99cb-e63e16de2cbe X-Archives-Hash: 0593810fa39c9ea7ec6ffbfadf740513 commit: 4fe1341cc3226fa721a5e818ba6eeb03c42a009c Author: Robin H. Johnson gentoo org> AuthorDate: Wed May 20 05:06:20 2020 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed May 20 05:08:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe1341c 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 gentoo.org> 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 d6909a46a38..3c3dc101011 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}"