diff options
author | David Seifert <soap@gentoo.org> | 2016-01-29 09:16:06 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-01-29 09:16:19 +0100 |
commit | eaf57f2fbec140573e9ea8c34f38e465a2e2f840 (patch) | |
tree | c016cd7824ad944dd772683c77b522b86a3202ac /sys-fs/bcache-tools | |
parent | dev-libs/libressl: fix subslot number (diff) | |
download | gentoo-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/bcache-tools')
-rw-r--r-- | sys-fs/bcache-tools/bcache-tools-1.0.8_p20140220.ebuild | 1 | ||||
-rw-r--r-- | sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch | 13 |
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 59030506aa7e..a3a949e12abf 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 000000000000..c6ca74d68882 --- /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 |