summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-06-09 18:12:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 20:56:35 +0100
commit0c10be57b72901464d4bb9ea7b5383c42b08bcae (patch)
tree78e8746ac8215577208ce658bfb8001f43d9a6b9 /meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch
parent64497638e70c97f417c2bcdaf99ffcc843ad58ec (diff)
downloadpoky-0c10be57b72901464d4bb9ea7b5383c42b08bcae.tar.gz
btrfs-tools: new recipe for tools to operate on btrfs images
Added these patches to the recipe to get it to work as desired: Upstream patches from tmp & for-dragonn branches of repository http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git Also included the debian patches. Nitin's patch to make the makefile cross friendly And Xin Zhong's patch to improve mkfs.btrfs (From OE-Core rev: 57a2140dc9673c65fea088fbd024fbd002e6937b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch')
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch
new file mode 100644
index 0000000000..dc26148f17
--- /dev/null
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/03-glibc.patch
@@ -0,0 +1,16 @@
1Upstream-Status: Inappropriate [distribution: debian]
2
3Author: Colin Watson <cjwatson@debian.org>
4Description: Fixes FTBFS with glibc 2.12 (Closes; #586111).
5
6diff -Naurp btrfs-tools.orig//btrfsck.c btrfs-tools/btrfsck.c
7--- btrfs-tools.orig//btrfsck.c 2010-06-05 09:06:38.000000000 +0200
8+++ btrfs-tools/btrfsck.c 2010-06-16 16:16:10.000000000 +0200
9@@ -21,6 +21,7 @@
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <fcntl.h>
13+#include <sys/stat.h>
14 #include "kerncompat.h"
15 #include "ctree.h"
16 #include "disk-io.h"