app-backup/snapper: Add build fix for gcc-6, bug 595552
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 21 Sep 2017 20:59:30 +0000 (22:59 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 21 Sep 2017 21:00:00 +0000 (23:00 +0200)
Closes: https://bugs.gentoo.org/595552
Package-Manager: Portage-2.3.10, Repoman-2.3.3

app-backup/snapper/files/snapper-0.5.0-gcc6.patch [new file with mode: 0644]
app-backup/snapper/snapper-0.5.0.ebuild

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 (file)
index 0000000..2720ae5
--- /dev/null
@@ -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"
index 9d1e8fe82a9ec375885ceb50b8980ebd165287bb..1b4ef13115e614f9f7988105ff57be5756d489b8 100644 (file)
@@ -39,6 +39,7 @@ DOCS=( AUTHORS )
 src_prepare() {
        default
        epatch "${FILESDIR}"/cron-confd.patch
+       epatch "${FILESDIR}/${P}"-gcc6.patch
 }
 
 src_configure() {