diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-08-11 14:04:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-08-11 14:04:23 +0000 |
commit | 56d29b362676362d932d5f93613e8341298cd759 (patch) | |
tree | 6ef20101419fb73eac405479b991edc8ab2b145a /sys-fs/btrfs-progs/files | |
parent | Let the Makefile respect LDFLAGS (bug #332221). (diff) | |
download | gentoo-2-56d29b362676362d932d5f93613e8341298cd759.tar.gz gentoo-2-56d29b362676362d932d5f93613e8341298cd759.tar.bz2 gentoo-2-56d29b362676362d932d5f93613e8341298cd759.zip |
Fix building with GLIBC 2.12.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/btrfs-progs/files')
-rw-r--r-- | sys-fs/btrfs-progs/files/btrfs-progs-0.19-glibc212.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-fs/btrfs-progs/files/btrfs-progs-0.19-glibc212.patch b/sys-fs/btrfs-progs/files/btrfs-progs-0.19-glibc212.patch new file mode 100644 index 000000000000..183fe2af3ea3 --- /dev/null +++ b/sys-fs/btrfs-progs/files/btrfs-progs-0.19-glibc212.patch @@ -0,0 +1,17 @@ +btrfsck.o: In function `maybe_free_inode_rec': +btrfsck.c:(.text+0xce6): undefined reference to `S_ISDIR' +btrfsck.c:(.text+0xd13): undefined reference to `S_ISREG' +btrfsck.c:(.text+0xdc7): undefined reference to `S_ISREG' +btrfsck.c:(.text+0xe2e): undefined reference to `S_ISLNK' +btrfsck.c:(.text+0xe5b): undefined reference to `S_ISLNK' + +--- btrfsck.c ++++ btrfsck.c +@@ -21,6 +21,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <fcntl.h> ++#include <sys/stat.h> + #include "kerncompat.h" + #include "ctree.h" + #include "disk-io.h" |