summaryrefslogtreecommitdiff
path: root/misc/otter/files/patch-mace2_mace2.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-03 09:41:20 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-03 09:41:20 +0000
commita168395ed72a5ba7a3679bb1294c987ef3b59988 (patch)
tree578deae2fa9b5a2280db426388a0dbd49e850ef7 /misc/otter/files/patch-mace2_mace2.c
parent- Update WWW (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=547434
Diffstat (limited to 'misc/otter/files/patch-mace2_mace2.c')
-rw-r--r--misc/otter/files/patch-mace2_mace2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/otter/files/patch-mace2_mace2.c b/misc/otter/files/patch-mace2_mace2.c
new file mode 100644
index 000000000000..c06beb41ef4d
--- /dev/null
+++ b/misc/otter/files/patch-mace2_mace2.c
@@ -0,0 +1,11 @@
+--- mace2/mace2.c.orig 2004-08-02 20:07:00 UTC
++++ mace2/mace2.c
+@@ -14,6 +14,8 @@
+ #define VERSION "2.2f"
+ #define VDATE "August 2004"
+
++#define IN_MAIN
++
+ #include "Mace2.h"
+
+ #include <unistd.h> /* for getopt */