void-packages/srcpkgs/mergerfs/patches/0001-install_fix.patch
Đoàn Trần Công Danh 765e304c4b srcpkgs/m*: convert patches to -Np1
```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

32 lines
930 B
Diff

From 584927af025144e4de064b6d274d3e99eec85993 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 12 Nov 2020 18:58:23 -0600
Subject: [PATCH] install_fix
---
libfuse/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git libfuse/Makefile libfuse/Makefile
index 61a1a11..99ccf9f 100644
--- a/libfuse/Makefile
+++ b/libfuse/Makefile
@@ -106,13 +106,8 @@ strip:
strip --strip-all build/mount.mergerfs
strip --strip-all build/mergerfs-fusermount
-install-utils: mergerfs-fusermount mount.mergerfs strip
- install -D build/mergerfs-fusermount "$(INSTALLBINDIR)/mergerfs-fusermount"
- install -D build/mount.mergerfs "$(INSTALLSBINDIR)/mount.mergerfs"
- chown root "$(INSTALLBINDIR)/mergerfs-fusermount"
- chmod u+s "$(INSTALLBINDIR)/mergerfs-fusermount"
-
-install: $(INSTALLUTILS)
+install:
+ echo ""
.PHONY: objects strip utils install install-utils
--
2.29.2