Summary: | media-gfx/openvdb: no template named 'auto_ptr' in namespace 'std' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Violet Purcell <vimproved> |
Component: | Current packages | Assignee: | Adrian <agrigo2001> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/31812 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Patch |
Description
Violet Purcell
2023-03-18 00:28:41 UTC
Created attachment 858141 [details]
Build log
Created attachment 858143 [details, diff]
Patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=177134bd1b059a651d7644a0c983444b4d122db4 commit 177134bd1b059a651d7644a0c983444b4d122db4 Author: Violet Purcell <vimproved@inventati.org> AuthorDate: 2023-07-09 14:18:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-11 04:34:19 +0000 media-gfx/openvdb: Fix usage of removed std::auto_ptr auto_ptr was deprecated in C++11 and removed in C++17. This bug appears to step from log4cplus, where auto_ptr was replaced with unique_ptr in the 2.0 release. OpenVDB attempts to check for this with the LOG4CPLUS_VERSION macro, however it's defined in the log4cplus/version.h header, which is never included. This patch adds the missing include, which fixes the issue with std::auto_ptr. Closes: https://bugs.gentoo.org/901991 Signed-off-by: Violet Purcell <vimproved@inventati.org> Closes: https://github.com/gentoo/gentoo/pull/31812 Signed-off-by: Sam James <sam@gentoo.org> .../openvdb/files/openvdb-10.0.1-log4cplus-version.patch | 14 ++++++++++++++ media-gfx/openvdb/openvdb-10.0.1.ebuild | 1 + 2 files changed, 15 insertions(+) |