summaryrefslogtreecommitdiffstats
path: root/kde/patch/libkleo/libkleo_gcc7.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-13 14:50:49 +0200
committer Eric Hameleers <alien@slackware.com>2018-06-13 14:50:49 +0200
commitc779e019ac53019baa07eb843aba59bc55ffec20 (patch)
treef4dd959f71cea6ac6a8741a1a8f9933a389f5bc7 /kde/patch/libkleo/libkleo_gcc7.patch
parente0d005c66dbed44be15070995d9d9e9200c989fa (diff)
downloadktown-c779e019ac53019baa07eb843aba59bc55ffec20.tar.gz
ktown-c779e019ac53019baa07eb843aba59bc55ffec20.tar.xz
Updated 'testing' in preparation for June '18 release of Plasma 5.13
Diffstat (limited to 'kde/patch/libkleo/libkleo_gcc7.patch')
-rw-r--r--kde/patch/libkleo/libkleo_gcc7.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/kde/patch/libkleo/libkleo_gcc7.patch b/kde/patch/libkleo/libkleo_gcc7.patch
new file mode 100644
index 0000000..40e0616
--- /dev/null
+++ b/kde/patch/libkleo/libkleo_gcc7.patch
@@ -0,0 +1,27 @@
+From 675ce908a33d16f3b78d3fc741b0ff45790e4770 Mon Sep 17 00:00:00 2001
+From: Fabian Vogt <fabian@ritter-vogt.de>
+Date: Wed, 17 May 2017 17:05:41 +0200
+Subject: Fix compilation with GCC 7
+
+std::bind is part of functional, and GCC 7 requires an explicit include.
+---
+ src/kleo/enum.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/kleo/enum.cpp b/src/kleo/enum.cpp
+index 15ea1fd..829d4fd 100644
+--- a/src/kleo/enum.cpp
++++ b/src/kleo/enum.cpp
+@@ -33,6 +33,9 @@
+ #include "enum.h"
+ #include "libkleo_debug.h"
+ #include "models/keycache.h"
++
++#include <functional>
++
+ #include <KLocalizedString>
+
+ #include <gpgme++/key.h>
+--
+cgit v0.11.2
+