1 |
commit: 502172039b109f54f097d3b8edda6d741bb0367f |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 21 20:59:30 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 21 21:00:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50217203 |
7 |
|
8 |
app-backup/snapper: Add build fix for gcc-6, bug 595552 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/595552 |
11 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
12 |
|
13 |
app-backup/snapper/files/snapper-0.5.0-gcc6.patch | 21 +++++++++++++++++++++ |
14 |
app-backup/snapper/snapper-0.5.0.ebuild | 1 + |
15 |
2 files changed, 22 insertions(+) |
16 |
|
17 |
diff --git a/app-backup/snapper/files/snapper-0.5.0-gcc6.patch b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..2720ae57f71 |
20 |
--- /dev/null |
21 |
+++ b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch |
22 |
@@ -0,0 +1,21 @@ |
23 |
+From 2e3812d2c1d1f54861fb79f5c2b0197de96a00a3 Mon Sep 17 00:00:00 2001 |
24 |
+From: Arvin Schnell <aschnell@××××.de> |
25 |
+Date: Wed, 6 Sep 2017 09:49:38 +0200 |
26 |
+Subject: [PATCH] - added include statement |
27 |
+ |
28 |
+--- |
29 |
+ client/cleanup.cc | 1 + |
30 |
+ 1 file changed, 1 insertion(+) |
31 |
+ |
32 |
+diff --git a/client/cleanup.cc b/client/cleanup.cc |
33 |
+index 0dbfc03..d7f2f68 100644 |
34 |
+--- a/client/cleanup.cc |
35 |
++++ b/client/cleanup.cc |
36 |
+@@ -21,6 +21,7 @@ |
37 |
+ */ |
38 |
+ |
39 |
+ |
40 |
++#include <iostream> |
41 |
+ #include <vector> |
42 |
+ |
43 |
+ #include "dbus/DBusMessage.h" |
44 |
|
45 |
diff --git a/app-backup/snapper/snapper-0.5.0.ebuild b/app-backup/snapper/snapper-0.5.0.ebuild |
46 |
index 9d1e8fe82a9..1b4ef13115e 100644 |
47 |
--- a/app-backup/snapper/snapper-0.5.0.ebuild |
48 |
+++ b/app-backup/snapper/snapper-0.5.0.ebuild |
49 |
@@ -39,6 +39,7 @@ DOCS=( AUTHORS ) |
50 |
src_prepare() { |
51 |
default |
52 |
epatch "${FILESDIR}"/cron-confd.patch |
53 |
+ epatch "${FILESDIR}/${P}"-gcc6.patch |
54 |
} |
55 |
|
56 |
src_configure() { |