Accepting request 262127 from home:lnussel:branches:server:mail
- handle text/html by default (bnc#899712) OBS-URL: https://build.opensuse.org/request/show/262127 OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=100
This commit is contained in:
18
mutt-1.5.21-mailcap.diff
Normal file
18
mutt-1.5.21-mailcap.diff
Normal file
@@ -0,0 +1,18 @@
|
||||
read /usr/share/mutt/mailcap as fallback by default. This allows to
|
||||
set some useful defaults specifically for mutt. For example
|
||||
text/html
|
||||
Index: mutt-1.5.21/init.c
|
||||
===================================================================
|
||||
--- mutt-1.5.21.orig/init.c
|
||||
+++ mutt-1.5.21/init.c
|
||||
@@ -3011,8 +3011,8 @@ void mutt_init (int skip_sys_rc, LIST *c
|
||||
MailcapPath = safe_strdup (p);
|
||||
else
|
||||
{
|
||||
- /* Default search path from RFC1524 */
|
||||
- MailcapPath = safe_strdup ("~/.mailcap:" PKGDATADIR "/mailcap:" SYSCONFDIR "/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap");
|
||||
+ /* Default search path from RFC1524 plus fallback for mutt specific defaults */
|
||||
+ MailcapPath = safe_strdup ("~/.mailcap:" PKGDATADIR "/mailcap:" SYSCONFDIR "/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap:" SYSCONFDIR "/mutt/mailcap");
|
||||
}
|
||||
|
||||
Tempdir = safe_strdup ((p = getenv ("TMPDIR")) ? p : "/tmp");
|
Reference in New Issue
Block a user