summaryrefslogtreecommitdiffstats
path: root/kde5-utils/kcalc
diff options
context:
space:
mode:
authorTreeve Jelbert2018-04-06 16:33:23 +0200
committerTreeve Jelbert2018-04-06 16:38:16 +0200
commitf2f883aa2da8dad623a8670276ce4ede4d76749a (patch)
tree7669b56d1cfbb24f7545668b81a306954b1671a1 /kde5-utils/kcalc
parent3c76aceedaa398000245782f3544fce7c8da466a (diff)
kcalc - fix for qt5.11
Diffstat (limited to 'kde5-utils/kcalc')
-rw-r--r--kde5-utils/kcalc/HISTORY3
-rwxr-xr-xkde5-utils/kcalc/PRE_BUILD3
-rw-r--r--kde5-utils/kcalc/patches/qt5.11.patch12
3 files changed, 18 insertions, 0 deletions
diff --git a/kde5-utils/kcalc/HISTORY b/kde5-utils/kcalc/HISTORY
index 8db800eee8..88cdfbe35f 100644
--- a/kde5-utils/kcalc/HISTORY
+++ b/kde5-utils/kcalc/HISTORY
@@ -1,3 +1,6 @@
+2018-04-06 Treeve Jelbert <treeve@sourcemage.org>
+ * PRE_BUILD qt5.11.patch: added
+
2018-03-08 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 17.12.3
diff --git a/kde5-utils/kcalc/PRE_BUILD b/kde5-utils/kcalc/PRE_BUILD
new file mode 100755
index 0000000000..922c0ab256
--- /dev/null
+++ b/kde5-utils/kcalc/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+apply_patch_dir patches
diff --git a/kde5-utils/kcalc/patches/qt5.11.patch b/kde5-utils/kcalc/patches/qt5.11.patch
new file mode 100644
index 0000000000..203897b328
--- /dev/null
+++ b/kde5-utils/kcalc/patches/qt5.11.patch
@@ -0,0 +1,12 @@
+diff --git a/kcalc.cpp b/kcalc.cpp
+index a2e7148..f6ab135 100644
+--- a/kcalc.cpp
++++ b/kcalc.cpp
+@@ -34,6 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ #include <QMenuBar>
+ #include <QShortcut>
+ #include <QStyle>
++#include <QButtonGroup>
+
+ #include <KAboutData>
+ #include <KAcceleratorManager>