void-packages/srcpkgs/fcron/patches/fcron.patch
Đoàn Trần Công Danh be5369a0cb srcpkgs/f*: convert patches to -Np1
* fpc is kept at -Np0

```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

19 lines
510 B
Diff

--- a/configure.in
+++ b/configure.in
@@ -201,7 +201,6 @@
if test ! -x "$SENDMAIL" ; then
dnl ... but it is not an executable file!
AC_MSG_RESULT([$SENDMAIL])
- AC_MSG_ERROR([File $SENDMAIL is not an executable file])
else
dnl ... and it is valid
AC_MSG_RESULT([$SENDMAIL])
--- a/script/user-group
+++ b/script/user-group
@@ -1,4 +1,5 @@
#!/bin/sh
+exit 0
# Check if the user and group given in arguments
# exit in /etc/passwd and /etc/group, and create
# them if necessary.