Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/grantlee/grantlee-qt-5.13.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-25 10:40:22 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-25 10:40:22 +0200
commitaed7093a8708a0c00c131e842a7d3dd39428416a (patch)
tree8222bdf07f32ec1348b4387f8ab873378c580de4 /extra/grantlee/grantlee-qt-5.13.patch
parentc7191a0f0247cd17d5371fbb35d2f1a315c38e03 (diff)
extra/grantlee: ported patches from FS#63552
Diffstat (limited to 'extra/grantlee/grantlee-qt-5.13.patch')
-rw-r--r--extra/grantlee/grantlee-qt-5.13.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/grantlee/grantlee-qt-5.13.patch b/extra/grantlee/grantlee-qt-5.13.patch
new file mode 100644
index 00000000..67a92c1f
--- /dev/null
+++ b/extra/grantlee/grantlee-qt-5.13.patch
@@ -0,0 +1,27 @@
+From 0cee029ee03ab4906c6d19b57458b5036852b0f8 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
+--- a/templates/lib/lexer_p.h
++++ b/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
+ {