From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gexiv2/, media-libs/gexiv2/files/
Date: Sat, 24 Jun 2023 05:28:44 +0000 (UTC) [thread overview]
Message-ID: <1687584486.e6517eb54f88c2cb030ecd59d430670970a465a9.sam@gentoo> (raw)
commit: e6517eb54f88c2cb030ecd59d430670970a465a9
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Sat Jun 24 05:26:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 05:28:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6517eb5
media-libs/gexiv2: Fix no template named 'auto_ptr' w/ llvm profile
[sam: gexiv2-0.14.1 switches to C++17 but exiv-0.27* doesn't support it yet,
and exiv-0.28* is masked. Do a workaround for now.]
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31587
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/0.14.1-revert-default-cpp_stdto17.patch | 18 ++++++++++++++++++
media-libs/gexiv2/gexiv2-0.14.1.ebuild | 7 ++++++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/media-libs/gexiv2/files/0.14.1-revert-default-cpp_stdto17.patch b/media-libs/gexiv2/files/0.14.1-revert-default-cpp_stdto17.patch
new file mode 100644
index 000000000000..9697e4455ba0
--- /dev/null
+++ b/media-libs/gexiv2/files/0.14.1-revert-default-cpp_stdto17.patch
@@ -0,0 +1,18 @@
+With clang 16 and libcxx this is causig build error such as:
+/usr/include/exiv2/value.hpp:54:17: error: no template named 'auto_ptr' in namespace 'std'; did you mean simply 'auto_ptr'?
+ typedef std::auto_ptr<Value> AutoPtr;
+Reverting upstream commit https://gitlab.gnome.org/GNOME/gexiv2/-/commit/2eb5c2c9ac1d36bee7089117e1f4825162a9409d
+helps solve them for now.
+
+There is on going work for exiv2-0.28
+--- a/meson.build
++++ b/meson.build
+@@ -5,7 +5,7 @@ project(
+ license: 'GPL-2.0-or-later',
+ meson_version : '>=0.51',
+ default_options : [
+- 'cpp_std=c++17'
++ 'cpp_std=c++11'
+ ]
+ )
+
diff --git a/media-libs/gexiv2/gexiv2-0.14.1.ebuild b/media-libs/gexiv2/gexiv2-0.14.1.ebuild
index 86688f8cdbd0..b9f339964fc9 100644
--- a/media-libs/gexiv2/gexiv2-0.14.1.ebuild
+++ b/media-libs/gexiv2/gexiv2-0.14.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit gnome.org meson python-r1 vala
@@ -47,6 +47,11 @@ BDEPEND="
virtual/pkgconfig
vala? ( $(vala_depend) )
"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-revert-default-cpp_stdto17.patch"
+)
+
src_prepare() {
default
use vala && vala_setup
next reply other threads:[~2023-06-24 5:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-24 5:28 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-27 18:58 [gentoo-commits] repo/gentoo:master commit in: media-libs/gexiv2/, media-libs/gexiv2/files/ Matt Turner
2018-06-26 19:04 Pacho Ramos
2017-11-06 22:41 Andreas Sturmlechner
2017-05-18 14:33 Lars Wendler
2017-03-29 22:44 Sebastian Pipping
2017-02-07 23:42 Mike Gilbert
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=1687584486.e6517eb54f88c2cb030ecd59d430670970a465a9.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