summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-01-29 09:16:06 +0100
committerDavid Seifert <soap@gentoo.org>2016-01-29 09:16:19 +0100
commiteaf57f2fbec140573e9ea8c34f38e465a2e2f840 (patch)
treec016cd7824ad944dd772683c77b522b86a3202ac /sys-fs
parentdev-libs/libressl: fix subslot number (diff)
downloadgentoo-eaf57f2fbec140573e9ea8c34f38e465a2e2f840.tar.gz
gentoo-eaf57f2fbec140573e9ea8c34f38e465a2e2f840.tar.bz2
gentoo-eaf57f2fbec140573e9ea8c34f38e465a2e2f840.zip
sys-fs/bcache-tools: Add underlinking patch for GCC 4.9 and below
Package-Manager: portage-2.2.27
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild1
-rw-r--r--sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch13
2 files changed, 14 insertions, 0 deletions
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
index 59030506aa7..a3a949e12ab 100644
--- a/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild
+++ b/sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${PV}/bcache-tools-1.0.8-noprobe.patch
"${FILESDIR}"/${PV}/bcache-tools-20131018-fedconf.patch
"${FILESDIR}"/${PV}/bcache-tools-status-20130826-man.patch
+ "${FILESDIR}"/${PV}/bcache-tools-1.0.8-probe-bcache-underlinking.patch
)
S="${WORKDIR}"/${P%%_p*}
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
new file mode 100644
index 00000000000..c6ca74d6888
--- /dev/null
+++ b/sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch
@@ -0,0 +1,13 @@
+Fix underlinking in GCC 4.9 and below
+
+--- bcache-tools-1.0.8/Makefile
++++ bcache-tools-1.0.8/Makefile
+@@ -24,7 +24,7 @@
+ make-bcache: LDLIBS += `pkg-config --libs uuid blkid`
+ make-bcache: CFLAGS += `pkg-config --cflags uuid blkid`
+ make-bcache: bcache.o
+-probe-bcache: LDLIBS += `pkg-config --libs uuid blkid`
++probe-bcache: LDLIBS += `pkg-config --libs uuid blkid` bcache.o
+ probe-bcache: CFLAGS += `pkg-config --cflags uuid blkid`
+ bcache-super-show: LDLIBS += `pkg-config --libs uuid`
+ bcache-super-show: CFLAGS += -std=gnu99