summaryrefslogtreecommitdiffstats
path: root/source/n/s-nail
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/s-nail')
-rwxr-xr-xsource/n/s-nail/s-nail.SlackBuild5
-rw-r--r--source/n/s-nail/s-nail.no.emptystart.diff11
2 files changed, 15 insertions, 1 deletions
diff --git a/source/n/s-nail/s-nail.SlackBuild b/source/n/s-nail/s-nail.SlackBuild
index 07f673ccd..567acd577 100755
--- a/source/n/s-nail/s-nail.SlackBuild
+++ b/source/n/s-nail/s-nail.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=s-nail
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -77,6 +77,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+# If there's no mail, exit:
+zcat $CWD/s-nail.no.emptystart.diff.gz | patch -p1 --verbose || exit 1
+
CFLAGS="$SLKCFLAGS" \
make $NUMJOBS \
VAL_PREFIX=/usr \
diff --git a/source/n/s-nail/s-nail.no.emptystart.diff b/source/n/s-nail/s-nail.no.emptystart.diff
new file mode 100644
index 000000000..3a83cb14b
--- /dev/null
+++ b/source/n/s-nail/s-nail.no.emptystart.diff
@@ -0,0 +1,11 @@
+--- ./nail.rc.orig 2021-01-21 16:31:08.000000000 -0600
++++ ./nail.rc 2021-02-19 20:10:01.859425406 -0600
+@@ -75,7 +75,7 @@
+ set editheaders
+
+ # Startup into interactive mode even if the (given) mailbox is empty.
+-set emptystart
++#set emptystart
+
+ # When `reply'ing etc. name parts and comments are stripped from receiver
+ # addresses unless this variable is set.