1 |
commit: eaf57f2fbec140573e9ea8c34f38e465a2e2f840 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 08:16:06 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 08:16:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf57f2f |
7 |
|
8 |
sys-fs/bcache-tools: Add underlinking patch for GCC 4.9 and below |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild | 1 + |
13 |
.../bcache-tools-1.0.8-probe-bcache-underlinking.patch | 13 +++++++++++++ |
14 |
2 files changed, 14 insertions(+) |
15 |
|
16 |
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.ebuild |
17 |
index 5903050..a3a949e 100644 |
18 |
--- a/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild |
19 |
+++ b/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild |
20 |
@@ -32,6 +32,7 @@ PATCHES=( |
21 |
"${FILESDIR}"/${PV}/bcache-tools-1.0.8-noprobe.patch |
22 |
"${FILESDIR}"/${PV}/bcache-tools-20131018-fedconf.patch |
23 |
"${FILESDIR}"/${PV}/bcache-tools-status-20130826-man.patch |
24 |
+ "${FILESDIR}"/${PV}/bcache-tools-1.0.8-probe-bcache-underlinking.patch |
25 |
) |
26 |
|
27 |
S="${WORKDIR}"/${P%%_p*} |
28 |
|
29 |
diff --git a/sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch b/sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch |
30 |
new file mode 100644 |
31 |
index 0000000..c6ca74d |
32 |
--- /dev/null |
33 |
+++ b/sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch |
34 |
@@ -0,0 +1,13 @@ |
35 |
+Fix underlinking in GCC 4.9 and below |
36 |
+ |
37 |
+--- bcache-tools-1.0.8/Makefile |
38 |
++++ bcache-tools-1.0.8/Makefile |
39 |
+@@ -24,7 +24,7 @@ |
40 |
+ make-bcache: LDLIBS += `pkg-config --libs uuid blkid` |
41 |
+ make-bcache: CFLAGS += `pkg-config --cflags uuid blkid` |
42 |
+ make-bcache: bcache.o |
43 |
+-probe-bcache: LDLIBS += `pkg-config --libs uuid blkid` |
44 |
++probe-bcache: LDLIBS += `pkg-config --libs uuid blkid` bcache.o |
45 |
+ probe-bcache: CFLAGS += `pkg-config --cflags uuid blkid` |
46 |
+ bcache-super-show: LDLIBS += `pkg-config --libs uuid` |
47 |
+ bcache-super-show: CFLAGS += -std=gnu99 |