summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2016-01-04 14:10:36 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2016-01-04 14:10:36 +0100
commitcc201a844ddaec078b07af4c4d1fd729873ed714 (patch)
treeee6e19dd0b172599492671e4349fcbd546ca0043 /net-misc/ocsync
parentx11-plugins/asmon: unused file (diff)
downloadgentoo-cc201a844ddaec078b07af4c4d1fd729873ed714.tar.gz
gentoo-cc201a844ddaec078b07af4c4d1fd729873ed714.tar.bz2
gentoo-cc201a844ddaec078b07af4c4d1fd729873ed714.zip
net-misc/ocsync: fix compilation with gcc 5
Bug #569072 by Toralf Förster <toralf.foerster@gmx.de> Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc/ocsync')
-rw-r--r--net-misc/ocsync/ocsync-0.90.4.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-misc/ocsync/ocsync-0.90.4.ebuild b/net-misc/ocsync/ocsync-0.90.4.ebuild
index 83e7bf194ee3..a2383be49498 100644
--- a/net-misc/ocsync/ocsync-0.90.4.ebuild
+++ b/net-misc/ocsync/ocsync-0.90.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -36,6 +36,9 @@ DEPEND="${DEPEND}
src_prepare() {
cmake-utils_src_prepare
+ sed -e "s/__FUNCTION__/__func__/" -i \
+ src/csync_log.h src/httpbf/src/httpbf.c \
+ tests/csync_tests/check_csync_log.c || die
# proper docdir
sed -e "s:/doc/ocsync:/doc/${PF}:" \
-i doc/CMakeLists.txt || die