diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-06-24 10:56:08 +0530 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-24 06:28:06 +0100 |
commit | e6517eb54f88c2cb030ecd59d430670970a465a9 (patch) | |
tree | ef7eab060b92ebb0a1bb3c55dc5a62a21d855273 /media-libs/gexiv2/files | |
parent | app-text/dictd: fix EAPI 8 port (diff) | |
download | gentoo-e6517eb54f88c2cb030ecd59d430670970a465a9.tar.gz gentoo-e6517eb54f88c2cb030ecd59d430670970a465a9.tar.bz2 gentoo-e6517eb54f88c2cb030ecd59d430670970a465a9.zip |
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@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31587
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/gexiv2/files')
-rw-r--r-- | media-libs/gexiv2/files/0.14.1-revert-default-cpp_stdto17.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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' + ] + ) + |