summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/bcache-tools/files/1.0.8_p20140220/bcache-tools-1.0.8-probe-bcache-underlinking.patch')
-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 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