Remove, repl*comps adjusted to honor LOCALMAILBOX env variable - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 849f6154b70090657232e3da34118ec9b73cb322
(DIR) parent 858e44a48cca277e97af032d1d7f4c0981bd32f5
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 26 May 2019 00:04:11
Remove, repl*comps adjusted to honor LOCALMAILBOX env variable
Diffstat:
mail/nmh/patch-sbr_mts.c | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
---
diff -r 858e44a48cca -r 849f6154b700 mail/nmh/patch-sbr_mts.c
--- a/mail/nmh/patch-sbr_mts.c Tue May 14 01:27:16 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD$
-
-Honors possible LOCALMAILBOX environment variable and treat it like the
-Local-Mailbox profile entry.
-
-XXX: This is not needed and instead `%(getenv LOCALMAILBOX)' in
-XXX: mh-format(5) can be used instead... Adjust configure files to do
-XXX: that!
-
---- sbr/mts.c.orig 2018-03-06 19:05:55.000000000 +0000
-+++ sbr/mts.c
-@@ -371,6 +371,9 @@ getuserinfo (void)
- }
- }
-
-+ if ((cp = getenv ("LOCALMAILBOX")) && *cp)
-+ strncpy (localmbox, cp, sizeof(localmbox));
-+
- if (username[0] == '\0') {
- strncpy (username, pw->pw_name, sizeof(username));
- }