2fd8d4df94
```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 ```
13 lines
599 B
Diff
13 lines
599 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1207,8 +1207,8 @@
|
|
dnl # stripping any trailing slash. If for some strage reason our program
|
|
dnl # does not find what it needs, we default to /var/spool/mail.
|
|
# Check for mail directory
|
|
-AC_ARG_WITH([path-mbox],
|
|
- [ --with-path-mbox=PATH Specify path to mbox directory (default=/var/spool/mail)],
|
|
+AC_ARG_WITH([maildir],
|
|
+ [ --with-maildir=PATH Specify path to maildir directory (default=/var/spool/mail)],
|
|
[
|
|
if test -n "$withval" -a "$withval" != "no" -a "${withval}" != "yes"; then
|
|
AC_DEFINE_UNQUOTED([MAIL_DIRECTORY], ["$withval"],
|