From ba3d6ddada23eaa04f85228bee3438ab479b4442 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Oct 2022 21:50:52 +0100 Subject: gentoo auto-resync : 23:10:2022 - 21:50:51 --- .../files/qmplay2-22.10.23-fix-includes.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 media-video/qmplay2/files/qmplay2-22.10.23-fix-includes.patch (limited to 'media-video/qmplay2/files') diff --git a/media-video/qmplay2/files/qmplay2-22.10.23-fix-includes.patch b/media-video/qmplay2/files/qmplay2-22.10.23-fix-includes.patch new file mode 100644 index 000000000000..eb77927f6ea9 --- /dev/null +++ b/media-video/qmplay2/files/qmplay2-22.10.23-fix-includes.patch @@ -0,0 +1,44 @@ +https://github.com/zaps166/QMPlay2/pull/541 + +fix include memory with USE_VULKAN=OFF + +Those header files are using std::shared_ptr from memory header even +when USE_VULKAN is OFF, so we must include them unconditionally. + +Signed-off-by: Arthur Zamarin +--- a/src/qmplay2/LibASS.hpp ++++ b/src/qmplay2/LibASS.hpp +@@ -23,6 +23,7 @@ + #include + #include + ++#include + #include + + class Settings; +@@ -35,7 +36,6 @@ struct ass_renderer; + struct ass_image; + + #ifdef USE_VULKAN +-#include + namespace QmVk { + class BufferPool; + } +--- a/src/qmplay2/QMPlay2OSD.hpp ++++ b/src/qmplay2/QMPlay2OSD.hpp +@@ -25,14 +25,13 @@ + #include + + #include ++#include + #include + #include + + #ifdef USE_VULKAN + # include + +-# include +- + namespace QmVk { + + class Buffer; -- cgit v1.2.3