[arch-commits] Commit in radare2-cutter/trunk (PKGBUILD radare2-cutter-qt5.15.patch)

Antonio Rojas arojas at archlinux.org
Wed May 27 14:09:24 UTC 2020


    Date: Wednesday, May 27, 2020 @ 14:09:23
  Author: arojas
Revision: 635914

shiboken2/pyside2 5.15 rebuild

Added:
  radare2-cutter/trunk/radare2-cutter-qt5.15.patch
Modified:
  radare2-cutter/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   12 +++++++++---
 radare2-cutter-qt5.15.patch |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-27 12:51:32 UTC (rev 635913)
+++ PKGBUILD	2020-05-27 14:09:23 UTC (rev 635914)
@@ -6,7 +6,7 @@
 _gitcommit=1aad797722f9fc60b80792a4cc02380c9241714a
 pkgver=1.10.3
 epoch=1
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt and C++ GUI for radare2 reverse engineering framework'
 url='https://github.com/radareorg/cutter'
 arch=('x86_64')
@@ -15,8 +15,10 @@
          'pyside2' 'python-shiboken2' 'graphviz' 'gcc-libs')
 makedepends=('git' 'cmake' 'shiboken2')
 optdepends=('r2ghidra-dec: ghidra decompiler plugin')
-source=(${pkgname}::"git+https://github.com/radareorg/cutter#commit=${_gitcommit}")
-sha512sums=('SKIP')
+source=(${pkgname}::"git+https://github.com/radareorg/cutter#commit=${_gitcommit}"
+        radare2-cutter-qt5.15.patch)
+sha512sums=('SKIP'
+            '966bf673904d3c633a09a7c6755d32de1205c07849def03ac35433eb6587ad5fd4860e33c11d54e6b4cff5470ed91cf35eacb0a15ca3bb4e1d095fdfa0e3e87b')
 
 pkgver() {
   cd ${pkgname}
@@ -23,6 +25,10 @@
   git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
+prepare() {
+  patch -d $pkgname -p1 -i ../radare2-cutter-qt5.15.patch # Fix build with Qt 5.15
+}
+
 build() {
   cd ${pkgname}/src
   export CFLAGS+=" ${CPPFLAGS}"

Added: radare2-cutter-qt5.15.patch
===================================================================
--- radare2-cutter-qt5.15.patch	                        (rev 0)
+++ radare2-cutter-qt5.15.patch	2020-05-27 14:09:23 UTC (rev 635914)
@@ -0,0 +1,36 @@
+diff --git a/src/widgets/ColorPicker.cpp b/src/widgets/ColorPicker.cpp
+index 25df2e3..fd9ce08 100644
+--- a/src/widgets/ColorPicker.cpp
++++ b/src/widgets/ColorPicker.cpp
+@@ -3,6 +3,7 @@
+ 
+ #include <QPaintEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QMouseEvent>
+ #include <QDesktopWidget>
+ #include <QPixmap>
+diff --git a/src/widgets/ColorThemeListView.cpp b/src/widgets/ColorThemeListView.cpp
+index d79b7eb..6013fa4 100644
+--- a/src/widgets/ColorThemeListView.cpp
++++ b/src/widgets/ColorThemeListView.cpp
+@@ -3,6 +3,7 @@
+ #include <QJsonArray>
+ #include <QMap>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QFontMetrics>
+ #include <QScreen>
+ #include <QJsonArray>
+diff --git a/src/widgets/DisassemblyWidget.cpp b/src/widgets/DisassemblyWidget.cpp
+index ef5ad7e..82bb0b6 100644
+--- a/src/widgets/DisassemblyWidget.cpp
++++ b/src/widgets/DisassemblyWidget.cpp
+@@ -14,6 +14,7 @@
+ #include <QRegularExpression>
+ #include <QTextBlockUserData>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QSplitter>
+ 
+ 


More information about the arch-commits mailing list