btrfs-progs: install sizes.h header

See #5820
This commit is contained in:
Michael Gehring 2017-03-16 07:29:12 +00:00
parent a696c093f0
commit 2f18937365
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,22 @@
--- Makefile.orig 2017-03-08 13:23:24.000000000 +0000
+++ Makefile 2017-03-16 07:25:49.899943196 +0000
@@ -108,7 +108,7 @@
uuid-tree.o utils-lib.o rbtree-utils.o
libbtrfs_headers = send-stream.h send-utils.h send.h kernel-lib/rbtree.h btrfs-list.h \
kernel-lib/crc32c.h kernel-lib/list.h kerncompat.h \
- kernel-lib/radix-tree.h extent-cache.h \
+ kernel-lib/radix-tree.h kernel-lib/sizes.h extent-cache.h \
extent_io.h ioctl.h ctree.h btrfsck.h version.h
convert_objects = convert/main.o convert/common.o convert/source-fs.o \
convert/source-ext2.o
--- ctree.h.orig 2017-03-08 13:23:24.000000000 +0000
+++ ctree.h 2017-03-16 07:27:27.249948219 +0000
@@ -34,7 +34,7 @@
#include <btrfs/extent-cache.h>
#include <btrfs/extent_io.h>
#include <btrfs/ioctl.h>
-#include <linux/sizes.h>
+#include <btrfs/sizes.h>
#endif /* BTRFS_FLAT_INCLUDES */
struct btrfs_root;

View File

@ -1,7 +1,7 @@
# Template file for 'btrfs-progs'
pkgname=btrfs-progs
version=4.10
revision=1
revision=2
wrksrc=${pkgname}-v${version}
build_style=gnu-configure
configure_args="--disable-backtrace"