1 |
commit: fdc5f34e97671aeabf0b8a79ddb4722ec09e31db |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 18 13:45:43 2015 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 13:46:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc5f34e |
7 |
|
8 |
net-misc/csync: fix compilation with gcc-5 |
9 |
|
10 |
Bug #568478 by Toralf Förster <toralf.foerster <AT> gmx.de> |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-misc/csync/csync-0.50.0.ebuild | 4 +++- |
15 |
1 file changed, 3 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/net-misc/csync/csync-0.50.0.ebuild b/net-misc/csync/csync-0.50.0.ebuild |
18 |
index 6031896..15e6dd5 100644 |
19 |
--- a/net-misc/csync/csync-0.50.0.ebuild |
20 |
+++ b/net-misc/csync/csync-0.50.0.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2014 Gentoo Foundation |
23 |
+# Copyright 1999-2015 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
# $Id$ |
26 |
|
27 |
@@ -29,6 +29,8 @@ DEPEND="${RDEPEND} |
28 |
src_prepare() { |
29 |
cmake-utils_src_prepare |
30 |
|
31 |
+ sed -e "s/__FUNCTION__/__func__/" -i \ |
32 |
+ src/csync_log.h tests/csync_tests/check_csync_log.c || die |
33 |
# proper docdir |
34 |
sed -e "s:/doc/${PN}:/doc/${PF}:" \ |
35 |
-i doc/CMakeLists.txt || die |