From f4738a2fd65d0bce0f072432f7d28e3885a5c110 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Thu, 21 May 2020 08:14:59 +0000 Subject: [PATCH] audio/polyphone: prepare for Qt5-5.15 --- audio/polyphone/Makefile | 4 +++- .../files/patch-editor_graphics_graphiquefourier.cpp | 10 ++++++++++ .../files/patch-editor_tree_treeitemdelegate.cpp | 10 ++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp create mode 100644 audio/polyphone/files/patch-editor_tree_treeitemdelegate.cpp diff --git a/audio/polyphone/Makefile b/audio/polyphone/Makefile index 7715c9f1cb41..532d2c298b13 100644 --- a/audio/polyphone/Makefile +++ b/audio/polyphone/Makefile @@ -21,7 +21,9 @@ LIB_DEPENDS= libFLAC.so:audio/flac \ USES= compiler:c++11-lang desktop-file-utils dos2unix gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl xorg USE_GITHUB= yes GH_ACCOUNT= davy7125 -DOS2UNIX_FILES= polyphone.pro +DOS2UNIX_FILES= polyphone.pro \ + editor/graphics/graphiquefourier.cpp \ + editor/tree/treeitemdelegate.cpp USE_GL= gl USE_QT= core concurrent gui network printsupport svg widgets buildtools_build qmake_build USE_GNOME= glib20 diff --git a/audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp b/audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp new file mode 100644 index 000000000000..7c5c27a0d526 --- /dev/null +++ b/audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp @@ -0,0 +1,10 @@ +--- editor/graphics/graphiquefourier.cpp.orig 2020-05-21 08:02:47 UTC ++++ editor/graphics/graphiquefourier.cpp +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + GraphiqueFourier::GraphiqueFourier(QWidget * parent) : QCustomPlot(parent), + _fixedTickerX(new QCPAxisTickerFixed()), diff --git a/audio/polyphone/files/patch-editor_tree_treeitemdelegate.cpp b/audio/polyphone/files/patch-editor_tree_treeitemdelegate.cpp new file mode 100644 index 000000000000..2da944d6b630 --- /dev/null +++ b/audio/polyphone/files/patch-editor_tree_treeitemdelegate.cpp @@ -0,0 +1,10 @@ +--- editor/tree/treeitemdelegate.cpp.orig 2020-05-21 08:02:47 UTC ++++ editor/tree/treeitemdelegate.cpp +@@ -29,6 +29,7 @@ + #include "basetypes.h" + #include + #include ++#include + + TreeItemDelegate::Icons * TreeItemDelegate::s_icons = nullptr; + TreeItemDelegate::Colors * TreeItemDelegate::s_colors = nullptr;