From a060b21e356e4e6e0555a91664b85e269d86c7ac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 22 Apr 2018 08:29:47 +0200 Subject: core/btrfs-progs: trying to build stuck package --- core/btrfs-progs/FS#58237.patch | 16 ++++++++++++++++ core/btrfs-progs/PKGBUILD | 0 2 files changed, 16 insertions(+) create mode 100644 core/btrfs-progs/FS#58237.patch create mode 100644 core/btrfs-progs/PKGBUILD (limited to 'core') diff --git a/core/btrfs-progs/FS#58237.patch b/core/btrfs-progs/FS#58237.patch new file mode 100644 index 00000000..21a11fc3 --- /dev/null +++ b/core/btrfs-progs/FS#58237.patch @@ -0,0 +1,16 @@ +diff --git a/utils.c b/utils.c +index e9cb3a82f..f867e5a7f 100644 +--- a/utils.c ++++ b/utils.c +@@ -2484,11 +2484,6 @@ const char *subvol_strip_mountpoint(const char *mnt, const char *full_path) + if (!len) + return full_path; + +- if ((strncmp(mnt, full_path, len) != 0) || (full_path[len] != '/')) { +- error("not on mount point: %s", mnt); +- exit(1); +- } +- + if (mnt[len - 1] != '/') + len += 1; + diff --git a/core/btrfs-progs/PKGBUILD b/core/btrfs-progs/PKGBUILD new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3