Theodric 2022-01-03
Changes from forked repo:
- remove build flag forcing 32-bit build
- change optimization from Os to Ofast
- declare regexpr.h in fortune.c to clear "implicit declaration of function...is invalid in C99" error
As of 2022-02-13:
- Builds on macOS Big Sur 11.6.3 20G415/aarch64 with Homebrew
- Builds on macOS Big Sur 11.6.2 20G314/amd64 with Homebrew
- Builds on macOS Big Sur 10.14.6 18G9323/amd64 with Homebrew
Based on the port from Thinky Head Software which can be located here: http://www.thinkyhead.com/fortune/download/bsd-fortune-14l
Modified by John P. Neumann (http://AnimateShmanimate.com) - As a note, I'm not a C programmer and I don't play one on tv, so if I screwed it up, lemme know. ;)
INSTALLATION:
This installation defaults to /usr/local/bin for the fortune script and installs the fortune cookies (fortunes) to /usr/local/var/fortunes. If you wish to change these locations open the Makefile and they're located on lines 27, 28, 29. The only caveat is that if you change the DATAPATH, make sure you change the TRUEDATAPATH as well, leaving the /fortunes on the end of it.