diff options
Diffstat (limited to 'devel/grantlee5/files/patch-git_1b4f22-fix-qt5.13')
-rw-r--r-- | devel/grantlee5/files/patch-git_1b4f22-fix-qt5.13 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/grantlee5/files/patch-git_1b4f22-fix-qt5.13 b/devel/grantlee5/files/patch-git_1b4f22-fix-qt5.13 new file mode 100644 index 000000000000..1e9147120752 --- /dev/null +++ b/devel/grantlee5/files/patch-git_1b4f22-fix-qt5.13 @@ -0,0 +1,30 @@ +https://github.com/steveire/grantlee/commit/1b4f22431ae35dfd11f07a5ae88a1b4db3de2a85.patch + +From 1b4f22431ae35dfd11f07a5ae88a1b4db3de2a85 Mon Sep 17 00:00:00 2001 +From: Michael Pyne <mpyne@kde.org> +Date: Tue, 18 Dec 2018 17:47:21 -0500 +Subject: [PATCH] Fix build with Qt 5.13 / GCC 8.2. + +At this point Grantlee doesn't build for me because QList is an +incomplete type. I think the compiler is right to complain, so I fix by +including the appropriate header. + +Fixes issue #47. +--- + templates/lib/lexer_p.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/templates/lib/lexer_p.h b/templates/lib/lexer_p.h +index 275aeea..1ae451a 100644 +--- templates/lib/lexer_p.h ++++ templates/lib/lexer_p.h +@@ -24,7 +24,7 @@ + #include "textprocessingmachine_p.h" + #include "token.h" + +-template <typename T> class QList; ++#include <QList> + + namespace Grantlee + { + |