public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlrpc-c/
Date: Fri, 22 Nov 2024 21:15:15 +0000 (UTC)	[thread overview]
Message-ID: <1732310061.7e3d60fd5216328015b865dd879e307f57e669bf.sam@gentoo> (raw)

commit:     7e3d60fd5216328015b865dd879e307f57e669bf
Author:     Andrej Shadura <andrew.shadura <AT> collabora <DOT> co <DOT> uk>
AuthorDate: Fri Nov 22 20:08:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 21:14:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e3d60fd

dev-libs/xmlrpc-c: Build old upstream versions as C++14

xmlrpc-c 1.54 uses std::auto_ptr which has been removed in C++17.
To ensure std::auto_ptr is present in the standard library, force
compilation as C++14.

Signed-off-by: Andrej Shadura <andrew.shadura <AT> collabora.co.uk>
Closes: https://github.com/gentoo/gentoo/pull/39421
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild | 5 ++++-
 dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild
index b3e2ddbb2651..5f6a9c62e545 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs
+inherit flag-o-matic autotools toolchain-funcs
 
 # Upstream maintains 3 release channels: https://xmlrpc-c.sourceforge.net/release.html
 # 1. Only the "Super Stable" series is released as a tarball
@@ -52,6 +52,9 @@ src_prepare() {
 src_configure() {
 	tc-export PKG_CONFIG
 
+	# xmlrpc-c uses std::auto_ptr which has been removed in C++17
+	append-cxxflags "-std=c++14"
+
 	econf \
 		--disable-libwww-client \
 		--disable-wininet-client \

diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild
index 184e48e2243a..508219953acd 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs
+inherit flag-o-matic autotools toolchain-funcs
 
 # Upstream maintains 3 release channels: https://xmlrpc-c.sourceforge.net/release.html
 # 1. Only the "Super Stable" series is released as a tarball
@@ -54,6 +54,9 @@ src_prepare() {
 src_configure() {
 	tc-export PKG_CONFIG
 
+	# xmlrpc-c uses std::auto_ptr which has been removed in C++17
+	append-cxxflags "-std=c++14"
+
 	econf \
 		--disable-libwww-client \
 		--disable-wininet-client \


             reply	other threads:[~2024-11-22 21:15 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22 21:15 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-30 22:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlrpc-c/ Sam James
2025-04-26  1:25 Sam James
2025-04-26  0:46 Sam James
2025-04-26  0:39 Sam James
2025-04-26  0:32 Sam James
2025-04-26  0:32 Sam James
2025-03-31 21:59 Sebastian Pipping
2024-11-22 21:15 Sam James
2024-11-21 16:24 Sam James
2024-06-29 14:09 Arthur Zamarin
2024-01-18 19:04 Arthur Zamarin
2023-01-20 12:58 Sergey Popov
2022-11-18 18:07 Arthur Zamarin
2022-11-18 18:05 Arthur Zamarin
2022-11-18 18:05 Arthur Zamarin
2022-11-18 18:05 Arthur Zamarin
2022-10-29  8:54 Jakov Smolić
2022-10-29  8:54 Jakov Smolić
2022-10-28 18:50 Sam James
2022-10-28 18:50 Sam James
2022-09-06  6:46 Sam James
2022-04-25  6:29 Jakov Smolić
2022-04-11  7:46 Sergey Popov
2022-03-31  7:59 Sergey Popov
2022-03-31  7:52 Sergey Popov
2021-02-24 20:25 Sam James
2021-02-19 20:02 Sam James
2021-02-06  0:04 Sam James
2021-02-06  0:02 Sam James
2021-01-13 19:28 Sergei Trofimovich
2021-01-11 19:20 Sam James
2021-01-11 12:07 Sergey Popov
2021-01-06 19:34 Fabian Groffen
2020-12-27 14:21 Fabian Groffen
2020-12-08 10:49 Sergey Popov
2020-12-05 15:06 Sergey Popov
2020-07-10 18:50 Sam James
2020-02-16  8:52 Sergey Popov
2017-05-23  7:28 Sergey Popov
2017-05-06 13:14 Markus Meier
2017-04-30  9:37 Agostino Sarubbo
2017-04-30  8:42 Jeroen Roovers
2017-04-27 11:23 Agostino Sarubbo
2017-04-27 10:14 Agostino Sarubbo
2017-01-29 16:19 Fabian Groffen
2016-11-22 17:18 Patrice Clement
2015-09-02 16:30 Justin Lecher

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=1732310061.7e3d60fd5216328015b865dd879e307f57e669bf.sam@gentoo \
    --to=sam@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