summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-12-18 14:45:43 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2015-12-18 14:46:17 +0100
commitfdc5f34e97671aeabf0b8a79ddb4722ec09e31db (patch)
treebd9b5b36cc55e519289c8b19ffbaf2e00403cf99 /net-misc/csync
parentapp-text/dvipng: Add slot operator dependency on media-libs/gd:2=. (diff)
downloadgentoo-fdc5f34e97671aeabf0b8a79ddb4722ec09e31db.tar.gz
gentoo-fdc5f34e97671aeabf0b8a79ddb4722ec09e31db.tar.bz2
gentoo-fdc5f34e97671aeabf0b8a79ddb4722ec09e31db.zip
net-misc/csync: fix compilation with gcc-5
Bug #568478 by Toralf Förster <toralf.foerster@gmx.de> Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc/csync')
-rw-r--r--net-misc/csync/csync-0.50.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/csync/csync-0.50.0.ebuild b/net-misc/csync/csync-0.50.0.ebuild
index 603189639805..15e6dd5d3489 100644
--- a/net-misc/csync/csync-0.50.0.ebuild
+++ b/net-misc/csync/csync-0.50.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -29,6 +29,8 @@ DEPEND="${RDEPEND}
src_prepare() {
cmake-utils_src_prepare
+ sed -e "s/__FUNCTION__/__func__/" -i \
+ src/csync_log.h tests/csync_tests/check_csync_log.c || die
# proper docdir
sed -e "s:/doc/${PN}:/doc/${PF}:" \
-i doc/CMakeLists.txt || die