public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
Date: Mon, 24 Jul 2023 12:35:21 +0000 (UTC)	[thread overview]
Message-ID: <1690202091.902c162a7ed7f479e86f126c5a97921c618bf43b.mgorny@gentoo> (raw)

commit:     902c162a7ed7f479e86f126c5a97921c618bf43b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 12:30:46 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 12:34:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902c162a

dev-libs/mongo-c-driver: Fix support for sphinx-5+

Strip -W flag that turns warnings into errors, in order to permit
building manpages with >=dev-python/sphinx-5.  I understand that it was
so hard to do this throughout the last year.

Closes: https://bugs.gentoo.org/892721
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
index 752bb1e91e55..e2bf1455e790 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,7 +23,6 @@ RESTRICT="x86? ( test )
 RDEPEND="app-arch/snappy:=
 	app-arch/zstd:=
 	>=dev-libs/libbson-${PV}[static-libs?]
-	<dev-python/sphinx-5
 	sys-libs/zlib:=
 	icu? ( dev-libs/icu:= )
 	sasl? ( dev-libs/cyrus-sasl:= )
@@ -35,6 +34,9 @@ DEPEND="${RDEPEND}
 		dev-db/mongodb
 		dev-libs/libbson[static-libs]
 	)"
+BDEPEND="
+	dev-python/sphinx
+"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
@@ -44,6 +46,9 @@ PATCHES=(
 src_prepare() {
 	cmake_src_prepare
 
+	# sphinx's -Werror
+	sed -i -e 's:-qEW:-qE:' build/cmake/SphinxBuild.cmake || die
+
 	# copy private headers for tests since we don't build libbson
 	if use test; then
 		mkdir -p src/libbson/tests/bson || die


             reply	other threads:[~2023-07-24 12:35 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 12:35 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-10  6:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/ Eray Aslan
2024-09-10  6:17 Eray Aslan
2024-07-28 13:07 Eray Aslan
2023-09-08 19:29 Sam James
2022-07-09 14:44 Arthur Zamarin
2022-05-13 14:08 Jakov Smolić
2022-04-26  3:37 Sam James
2021-11-26  6:42 Sam James
2021-10-27  6:37 Agostino Sarubbo
2021-07-24 16:15 Thomas Deutschmann
2021-05-02 15:38 Mikle Kolyada
2021-02-28 18:08 Andreas Sturmlechner
2020-09-01 10:47 Michał Górny
2020-08-06 14:34 Thomas Deutschmann
2020-07-18 22:38 Sam James
2020-05-29  7:42 Agostino Sarubbo
2020-02-02 22:28 Matt Turner
2019-12-12 16:46 Michał Górny
2019-11-15 21:57 Alexys Jacob
2019-03-03 11:12 Mikle Kolyada
2019-01-19  3:22 Thomas Deutschmann
2018-12-23 14:29 Mikle Kolyada
2018-12-22 22:25 Thomas Deutschmann
2018-10-26 13:18 Thomas Deutschmann
2018-04-17 22:09 Thomas Deutschmann
2018-04-16 17:21 Aaron Bauman
2018-04-07 11:03 Jeroen Roovers
2018-03-02 14:39 Alexys Jacob
2018-02-10  0:32 Thomas Deutschmann
2018-02-09 14:15 Thomas Deutschmann
2018-01-28 16:08 Mikle Kolyada
2017-12-07 17:34 Patrice Clement
2017-05-30 13:31 Alexys Jacob
2017-05-25 15:23 Mike Gilbert
2017-05-19 10:52 Michał Górny
2017-04-22  8:34 Jeroen Roovers
2016-11-03 16:19 Göktürk Yüksek
2016-06-30 17:00 Brian Evans
2016-06-26  0:09 Anthony G. Basile
2015-09-17 11:56 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690202091.902c162a7ed7f479e86f126c5a97921c618bf43b.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox