[arch-commits] Commit in qcachegrind/trunk (PKGBUILD qt-5.5.patch)
Antonio Rojas
arojas at archlinux.org
Sun Dec 6 20:18:17 UTC 2015
Date: Sunday, December 6, 2015 @ 21:18:17
Author: arojas
Revision: 149158
Fix build with Qt 5.5
Added:
qcachegrind/trunk/qt-5.5.patch
Modified:
qcachegrind/trunk/PKGBUILD
--------------+
PKGBUILD | 11 +++++++++--
qt-5.5.patch | 22 ++++++++++++++++++++++
2 files changed, 31 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-06 20:15:15 UTC (rev 149157)
+++ PKGBUILD 2015-12-06 20:18:17 UTC (rev 149158)
@@ -15,10 +15,17 @@
'php: pprof2calltree'
'python2: hotshot2calltree')
conflicts=('kdesdk-kcachegrind')
-source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz)
-md5sums=('a0be465c0f4acfa08bedafb3963a3193')
+source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz qt-5.5.patch)
+md5sums=('a0be465c0f4acfa08bedafb3963a3193'
+ '8e6873dec097dfee6e960845d9decf5b')
install=$pkgname.install
+prepare() {
+ # Fix build with Qt 5.5
+ cd $_pkgname-$pkgver
+ patch -p1 -i ../qt-5.5.patch
+}
+
build() {
cd $_pkgname-$pkgver
qmake-qt5
Added: qt-5.5.patch
===================================================================
--- qt-5.5.patch (rev 0)
+++ qt-5.5.patch 2015-12-06 20:18:17 UTC (rev 149158)
@@ -0,0 +1,22 @@
+From: Josef Weidendorfer <Josef.Weidendorfer at gmx.de>
+Date: Fri, 18 Sep 2015 18:41:43 +0000
+Subject: Compile fix for Qt 5.5
+X-Git-Tag: v15.11.80
+X-Git-Url: http://quickgit.kde.org/?p=kcachegrind.git&a=commitdiff&h=69223f24d7c864310b45cd184cb04956b7214b7f
+---
+Compile fix for Qt 5.5
+---
+
+
+--- a/libcore/costitem.cpp
++++ b/libcore/costitem.cpp
+@@ -17,6 +17,8 @@
+ */
+
+ #include "costitem.h"
++
++#include <QObject>
+
+ #include "tracedata.h"
+
+
More information about the arch-commits
mailing list