summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-21 22:59:30 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-21 23:00:00 +0200
commit502172039b109f54f097d3b8edda6d741bb0367f (patch)
treea7038739f66fe055655571bb030e562950534dc7 /app-backup
parentmedia-sound/pulseaudio: version bump 11.0 → 11.1 (diff)
downloadgentoo-502172039b109f54f097d3b8edda6d741bb0367f.tar.gz
gentoo-502172039b109f54f097d3b8edda6d741bb0367f.tar.bz2
gentoo-502172039b109f54f097d3b8edda6d741bb0367f.zip
app-backup/snapper: Add build fix for gcc-6, bug 595552
Closes: https://bugs.gentoo.org/595552 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/snapper/files/snapper-0.5.0-gcc6.patch21
-rw-r--r--app-backup/snapper/snapper-0.5.0.ebuild1
2 files changed, 22 insertions, 0 deletions
diff --git a/app-backup/snapper/files/snapper-0.5.0-gcc6.patch b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch
new file mode 100644
index 000000000000..2720ae57f71f
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch
@@ -0,0 +1,21 @@
+From 2e3812d2c1d1f54861fb79f5c2b0197de96a00a3 Mon Sep 17 00:00:00 2001
+From: Arvin Schnell <aschnell@suse.de>
+Date: Wed, 6 Sep 2017 09:49:38 +0200
+Subject: [PATCH] - added include statement
+
+---
+ client/cleanup.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/client/cleanup.cc b/client/cleanup.cc
+index 0dbfc03..d7f2f68 100644
+--- a/client/cleanup.cc
++++ b/client/cleanup.cc
+@@ -21,6 +21,7 @@
+ */
+
+
++#include <iostream>
+ #include <vector>
+
+ #include "dbus/DBusMessage.h"
diff --git a/app-backup/snapper/snapper-0.5.0.ebuild b/app-backup/snapper/snapper-0.5.0.ebuild
index 9d1e8fe82a9e..1b4ef13115e6 100644
--- a/app-backup/snapper/snapper-0.5.0.ebuild
+++ b/app-backup/snapper/snapper-0.5.0.ebuild
@@ -39,6 +39,7 @@ DOCS=( AUTHORS )
src_prepare() {
default
epatch "${FILESDIR}"/cron-confd.patch
+ epatch "${FILESDIR}/${P}"-gcc6.patch
}
src_configure() {