diff options
| -rw-r--r-- | media-gfx/ueberzugpp/files/ueberzugpp-2.9.7-cli11-2.6.0.patch | 15 | ||||
| -rw-r--r-- | media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/media-gfx/ueberzugpp/files/ueberzugpp-2.9.7-cli11-2.6.0.patch b/media-gfx/ueberzugpp/files/ueberzugpp-2.9.7-cli11-2.6.0.patch new file mode 100644 index 000000000000..c371c9a08bd5 --- /dev/null +++ b/media-gfx/ueberzugpp/files/ueberzugpp-2.9.7-cli11-2.6.0.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/964933 +https://github.com/jstkdng/ueberzugpp/pull/268 +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -23,4 +23,10 @@ + #include <spdlog/spdlog.h> + ++#include <CLI/Version.hpp> ++#if (CLI11_VERSION_MAJOR >= 3) || (CLI11_VERSION_MAJOR == 2 && CLI11_VERSION_MINOR >= 6) ++// CLI11 2.6.0 and beyond requires this header file for the CLI::IsMember validator. ++#include <CLI/ExtraValidators.hpp> ++#endif ++ + #include "application.hpp" + #include "flags.hpp" diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild index b26ec480eddd..5ac8b2e2d9c6 100644 --- a/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild +++ b/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild @@ -53,6 +53,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${P}-cli11-2.6.0.patch +) + src_configure() { if use X && tc-is-clang && [[ $(tc-get-cxx-stdlib) == libc++ && $(clang-major-version) -lt 20 ]] |
