summaryrefslogtreecommitdiff
path: root/wiki/muds/tinyfugue-on-yosemite.md
blob: 17544361b6506e0441d030b463294a3551249c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.