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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 129E3158009 for ; Sat, 24 Jun 2023 05:28:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3681CE07BA; Sat, 24 Jun 2023 05:28:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C590E07BA for ; Sat, 24 Jun 2023 05:28:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54504335D63 for ; Sat, 24 Jun 2023 05:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD923A95 for ; Sat, 24 Jun 2023 05:28:44 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1687584486.e6517eb54f88c2cb030ecd59d430670970a465a9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gexiv2/, media-libs/gexiv2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/gexiv2/files/0.14.1-revert-default-cpp_stdto17.patch media-libs/gexiv2/gexiv2-0.14.1.ebuild X-VCS-Directories: media-libs/gexiv2/files/ media-libs/gexiv2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e6517eb54f88c2cb030ecd59d430670970a465a9 X-VCS-Branch: master Date: Sat, 24 Jun 2023 05:28:44 +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: 08203e6f-5159-4bf1-9ae9-fe0a07df9c25 X-Archives-Hash: e4d96501215f0ac2aef99efd33da38a1 commit: e6517eb54f88c2cb030ecd59d430670970a465a9 Author: Brahmajit Das gmail com> AuthorDate: Sat Jun 24 05:26:08 2023 +0000 Commit: Sam James gentoo 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 gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31587 Signed-off-by: Sam James 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 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