summaryrefslogtreecommitdiff
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/bcache-tools/files
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/bcache-tools/files')
-rw-r--r--sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch13
1 files changed, 13 insertions, 0 deletions
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