aboutsummaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-04 11:11:53 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-04 11:11:53 +0000
commitb377717646b7504bc718431069fa931997dd1b45 (patch)
tree61c619259174639df1fca4b53947ffc387bc7dc7 /mail/mutt-devel
parenta5184c180dc2b17883f17ce965d660b802627c1f (diff)
downloadports-b377717646b7504bc718431069fa931997dd1b45.tar.gz
ports-b377717646b7504bc718431069fa931997dd1b45.zip
Notes
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile2
-rw-r--r--mail/mutt-devel/files/patch-init.c21
2 files changed, 22 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 4aacbf7da547..f9fd2caaf4b5 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -84,7 +84,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.5.6
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
diff --git a/mail/mutt-devel/files/patch-init.c b/mail/mutt-devel/files/patch-init.c
index 389b682cfa11..36b72f17d579 100644
--- a/mail/mutt-devel/files/patch-init.c
+++ b/mail/mutt-devel/files/patch-init.c
@@ -37,3 +37,24 @@
#ifndef DOMAIN
#define DOMAIN buffer
+--- init.c.orig
++++ init.c
+@@ -1371,17 +1371,6 @@
+ pid_t pid;
+ struct stat s;
+
+- if (stat (rcfile, &s) < 0)
+- {
+- snprintf (err->data, err->dsize, _("%s: stat: %s"), rcfile, strerror (errno));
+- return (-1);
+- }
+- if (!S_ISREG (s.st_mode))
+- {
+- snprintf (err->data, err->dsize, _("%s: not a regular file"), rcfile);
+- return (-1);
+- }
+-
+ if ((f = mutt_open_read (rcfile, &pid)) == NULL)
+ {
+ snprintf (err->data, err->dsize, "%s: %s", rcfile, strerror (errno));
+