summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen.jacobson@grimoire.ca>2015-02-13 23:51:18 -0500
committerOwen Jacobson <owen.jacobson@grimoire.ca>2015-02-13 23:51:18 -0500
commitd9336f91aad7b09c7315fe5794c2514e91d11e54 (patch)
tree6b1b21c79d6b9925f66a89bb48bae158e63df6c6
parent654b60a01d5f44db03139cb1e8a74b4ff7d3261c (diff)
TinyFugue works on Yosemite.
-rw-r--r--wiki/muds/tinyfugue-on-yosemite.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/wiki/muds/tinyfugue-on-yosemite.md b/wiki/muds/tinyfugue-on-yosemite.md
new file mode 100644
index 0000000..1754436
--- /dev/null
+++ b/wiki/muds/tinyfugue-on-yosemite.md
@@ -0,0 +1,21 @@
+# Compiling TinyFugue on Yosemite
+
+TinyFugue's site claims that it works on OS X. This is largely true, but the
+switch from `gcc` to `clang` has eliminated support for some _deeply_ legacy
+symbols.
+
+Since SourceForge is a death zone, I'll post my fix here. To get TinyFugue to
+compile, apply the following patch:
+
+ --- src/malloc.c.orig 2015-02-13 23:45:44.000000000 -0500
+ +++ src/malloc.c 2015-02-13 23:45:28.000000000 -0500
+ @@ -12,7 +12,6 @@
+ #include "signals.h"
+ #include "malloc.h"
+
+ -caddr_t mmalloc_base = NULL;
+ int low_memory_warning = 0;
+ static char *reserve = NULL;
+
+This symbol appears to be unused. Certainly I haven't been able to find any
+references, and `tf` works well enough.