Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bcache-tools/
Date: Sat, 30 Jan 2016 15:11:37
Message-Id: 1454166686.76aca9c8583227c0a267442b3f82d162b101dfea.jlec@gentoo
1 commit: 76aca9c8583227c0a267442b3f82d162b101dfea
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 15:11:14 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 15:11:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76aca9c8
7
8 sys-fs/bcache-tools: Fix build problems
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573372
11
12 Package-Manager: portage-2.2.27
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 ...0.8_p20140220.ebuild => bcache-tools-1.0.8_p20140220-r1.ebuild} | 7 ++++---
16 1 file changed, 4 insertions(+), 3 deletions(-)
17
18 diff --git a/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild b/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220-r1.ebuild
19 similarity index 91%
20 rename from sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild
21 rename to sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220-r1.ebuild
22 index a3a949e..af47111 100644
23 --- a/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild
24 +++ b/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220-r1.ebuild
25 @@ -6,7 +6,7 @@ EAPI=5
26
27 PYTHON_COMPAT=( python3_{3,4,5} )
28
29 -inherit eutils python-r1 toolchain-funcs udev
30 +inherit eutils flag-o-matic python-r1 toolchain-funcs udev
31
32 DESCRIPTION="Tools for bcachefs"
33 HOMEPAGE="http://bcache.evilpiepirate.org/"
34 @@ -32,7 +32,6 @@ PATCHES=(
35 "${FILESDIR}"/${PV}/bcache-tools-1.0.8-noprobe.patch
36 "${FILESDIR}"/${PV}/bcache-tools-20131018-fedconf.patch
37 "${FILESDIR}"/${PV}/bcache-tools-status-20130826-man.patch
38 - "${FILESDIR}"/${PV}/bcache-tools-1.0.8-probe-bcache-underlinking.patch
39 )
40
41 S="${WORKDIR}"/${P%%_p*}
42 @@ -41,9 +40,11 @@ src_prepare() {
43 tc-export CC
44 sed \
45 -e '/^CFLAGS/s:-O2::' \
46 - -e '/^CFLAGS/s:-g::' \
47 + -e '/^CFLAGS/s:-g:-std=gnu99:' \
48 -i Makefile || die
49
50 + append-lfs-flags
51 +
52 cp ../bcache-status*/bcache-status . || die
53
54 epatch "${PATCHES[@]}"