diff --git a/srcpkgs/btrfs-progs/patches/libbtrfs-link-messages.patch b/srcpkgs/btrfs-progs/patches/libbtrfs-link-messages.patch new file mode 100644 index 0000000000..8e9c56d553 --- /dev/null +++ b/srcpkgs/btrfs-progs/patches/libbtrfs-link-messages.patch @@ -0,0 +1,13 @@ +Fixes /usr/lib/libbtrfs.so: undefined reference to `__error' + +--- Makefile.orig 2017-03-16 08:47:29.000000000 +0000 ++++ Makefile 2017-03-16 08:53:24.313214267 +0000 +@@ -105,7 +105,7 @@ + mkfs/common.o + libbtrfs_objects = send-stream.o send-utils.o kernel-lib/rbtree.o btrfs-list.o \ + kernel-lib/crc32c.o \ +- uuid-tree.o utils-lib.o rbtree-utils.o ++ uuid-tree.o utils-lib.o rbtree-utils.o messages.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 kernel-lib/sizes.h extent-cache.h \ diff --git a/srcpkgs/btrfs-progs/template b/srcpkgs/btrfs-progs/template index b08335a22d..b4ac9a34f2 100644 --- a/srcpkgs/btrfs-progs/template +++ b/srcpkgs/btrfs-progs/template @@ -1,7 +1,7 @@ # Template file for 'btrfs-progs' pkgname=btrfs-progs version=4.10 -revision=2 +revision=3 wrksrc=${pkgname}-v${version} build_style=gnu-configure configure_args="--disable-backtrace"