Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/btrfs-progs
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-04-22 08:29:47 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-04-22 08:29:47 +0200
commita060b21e356e4e6e0555a91664b85e269d86c7ac (patch)
tree39ae0b790a2a2a1580ff1c75e718ec1771d28f52 /core/btrfs-progs
parente8996c4a7bbfb0bbe34080f90834570699998108 (diff)
core/btrfs-progs: trying to build stuck package
Diffstat (limited to 'core/btrfs-progs')
-rw-r--r--core/btrfs-progs/FS#58237.patch16
-rw-r--r--core/btrfs-progs/PKGBUILD0
2 files changed, 16 insertions, 0 deletions
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
--- /dev/null
+++ b/core/btrfs-progs/PKGBUILD