diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-05-03 07:44:15 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-05-03 07:44:15 +0000 |
commit | 3b750f6003268b56dd9fcd3099ce9144d73ab24b (patch) | |
tree | 9fe64ef055d381226f1566e612518c5a0be33c0d /mail | |
parent | Link executables with -pthread so that they can work with threaded libraries (diff) |
Fix port building if WITH_MUTT_XFACE knob is defined.
PR: ports/51715
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt/files/patch-init.c | 16 | ||||
-rw-r--r-- | mail/mutt14/files/patch-init.c | 16 |
2 files changed, 6 insertions, 26 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... */ diff --git a/mail/mutt14/files/patch-init.c b/mail/mutt14/files/patch-init.c index 4d0363a9c1bb..389b682cfa11 100644 --- a/mail/mutt14/files/patch-init.c +++ b/mail/mutt14/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... */ |