summaryrefslogtreecommitdiff
path: root/mail/mailx/files/patch-main.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-10-02 14:26:07 +0000
committerStefan Eßer <se@FreeBSD.org>2020-10-02 14:26:07 +0000
commitb24c1db71635bfad4e126ae9f3c9ce220eee29f9 (patch)
treedf975662c08515d2cd2266095a7bac8bb0c37b85 /mail/mailx/files/patch-main.c
parentUnbreak bulk -a (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=551214
Diffstat (limited to 'mail/mailx/files/patch-main.c')
-rw-r--r--mail/mailx/files/patch-main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mailx/files/patch-main.c b/mail/mailx/files/patch-main.c
new file mode 100644
index 000000000000..14e200079bfd
--- /dev/null
+++ b/mail/mailx/files/patch-main.c
@@ -0,0 +1,11 @@
+--- main.c.orig 1998-03-08 09:46:57 UTC
++++ main.c
+@@ -41,6 +41,8 @@ static char copyright[] =
+ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
+ #endif /* not lint */
+
++#define IN_MAIN
++
+ #include "rcv.h"
+ #include <err.h>
+ #include <fcntl.h>