diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 21:50:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 21:50:52 +0100 |
commit | ba3d6ddada23eaa04f85228bee3438ab479b4442 (patch) | |
tree | 87c61faa67018943d552f24d91f0aeaece2b771e /media-video/qmplay2/files | |
parent | 2e6d363c5e87569efc23848513e71f2233b7e9d9 (diff) |
gentoo auto-resync : 23:10:2022 - 21:50:51
Diffstat (limited to 'media-video/qmplay2/files')
-rw-r--r-- | media-video/qmplay2/files/qmplay2-22.10.23-fix-includes.patch | 44 |
1 files changed, 44 insertions, 0 deletions
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 <arthurzam@gentoo.org> +--- a/src/qmplay2/LibASS.hpp ++++ b/src/qmplay2/LibASS.hpp +@@ -23,6 +23,7 @@ + #include <QByteArray> + #include <QList> + ++#include <memory> + #include <set> + + class Settings; +@@ -35,7 +36,6 @@ struct ass_renderer; + struct ass_image; + + #ifdef USE_VULKAN +-#include <memory> + namespace QmVk { + class BufferPool; + } +--- a/src/qmplay2/QMPlay2OSD.hpp ++++ b/src/qmplay2/QMPlay2OSD.hpp +@@ -25,14 +25,13 @@ + #include <QRect> + + #include <functional> ++#include <memory> + #include <vector> + #include <mutex> + + #ifdef USE_VULKAN + # include <QVector4D> + +-# include <memory> +- + namespace QmVk { + + class Buffer; |