grantlee5: fix build w/ qt5-5.13

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-07-17 19:03:07 +02:00
parent 4a2f69a7e3
commit a913479bff
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
--- templates/lib/lexer_p.h 2016-04-19 08:33:17.000000000 +0200
+++ templates/lib/lexer_p.h 2019-07-17 18:59:09.532287091 +0200
@@ -23,8 +23,7 @@
#include "textprocessingmachine_p.h"
#include "token.h"
-
-template <typename T> class QList;
+#include <QList>
namespace Grantlee
{

View file

@ -1,7 +1,7 @@
# Template file for 'grantlee5'
pkgname=grantlee5
version=5.1.0
revision=2
revision=3
wrksrc=${pkgname%5}-${version}
build_style=cmake
makedepends="qt5-script-devel qt5-tools-devel"