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
This commit is contained in:
Andreas K. Hüttel
2017-09-21 22:59:30 +02:00
parent 07218cec73
commit 502172039b
2 changed files with 22 additions and 0 deletions

View File

@@ -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"

View File

@@ -39,6 +39,7 @@ DOCS=( AUTHORS )
src_prepare() {
default
epatch "${FILESDIR}"/cron-confd.patch
epatch "${FILESDIR}/${P}"-gcc6.patch
}
src_configure() {