aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-05-03 15:44:15 +0800
committerobraun <obraun@FreeBSD.org>2003-05-03 15:44:15 +0800
commit6054da3864224b72911548788d8ae87a4798aee6 (patch)
tree3ef1fa0d94760ee48f0171175b01bf33e511e9b0 /mail/mutt
parent0060d38bd82d37a0f5645957430313f8b7946f34 (diff)
downloadfreebsd-ports-gnome-6054da3864224b72911548788d8ae87a4798aee6.tar.gz
freebsd-ports-gnome-6054da3864224b72911548788d8ae87a4798aee6.tar.zst
freebsd-ports-gnome-6054da3864224b72911548788d8ae87a4798aee6.zip
Fix port building if WITH_MUTT_XFACE knob is defined.
PR: ports/51715 Submitted by: maintainer
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/files/patch-init.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/mail/mutt/files/patch-init.c b/mail/mutt/files/patch-init.c
index 4d0363a9c1bb..389b682cfa11 100644
--- a/mail/mutt/files/patch-init.c
+++ b/mail/mutt/files/patch-init.c
@@ -1,16 +1,6 @@
--- init.c.orig Wed Jul 24 10:41:29 2002
-+++ init.c Wed Apr 30 13:06:45 2003
-@@ -45,7 +45,9 @@
- #include <stdlib.h>
- #include <unistd.h>
- #include <string.h>
-+#if __FreeBSD_version >= 500000
- #include <sys/utsname.h>
-+#endif
- #include <errno.h>
- #include <sys/wait.h>
-
-@@ -1707,7 +1709,11 @@
++++ init.c Sat May 3 08:46:29 2003
+@@ -1707,7 +1707,11 @@
void mutt_init (int skip_sys_rc, LIST *commands)
{
struct passwd *pw;
@@ -22,7 +12,7 @@
char *p, buffer[STRING], error[STRING];
int i, default_rc = 0, need_pause = 0;
BUFFER err;
-@@ -1765,16 +1771,21 @@
+@@ -1765,16 +1769,21 @@
#endif
/* And about the host... */