X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/4988a192dab00d86203bd44995b53284abfa1474..40dcc70d7c9189c0a005a79b9d5c0af31debd3a5:/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff?ds=inline diff --git a/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff b/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff index de6765e..61d04ce 100644 --- a/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff +++ b/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff @@ -1,6 +1,9 @@ ---- mutt-1.5.11.orig/init.c -+++ mutt-1.5.11/init.c -@@ -46,6 +46,7 @@ +If /etc/mailname is present, the hostname inside the file will be +used, rather than calling gethostbyname() on the actual hostname + +--- a/init.c ++++ b/init.c +@@ -47,6 +47,7 @@ #include #include #include @@ -8,7 +11,7 @@ #include #include -@@ -2761,6 +2762,31 @@ +@@ -2953,6 +2954,31 @@ return 0; } @@ -40,7 +43,7 @@ void mutt_init (int skip_sys_rc, LIST *commands) { struct passwd *pw; -@@ -2832,10 +2858,25 @@ +@@ -3027,10 +3053,25 @@ Hostname = mutt_substrdup (utsname.nodename, p); p++; strfcpy (buffer, p, sizeof (buffer)); /* save the domain for below */