MEGA65 / mega65-tools

Tools and Utilities for the MEGA65 Retro Computers
GNU General Public License v3.0
30 stars 31 forks source link

Remove cosmetic hexdump pattern that crashes macOS (BSD) hexdump #148

Closed dansanderson closed 2 years ago

dansanderson commented 2 years ago

The 8/1 """\n" pattern in the hexdump command causes the macOS version of hexdump to segfault. This pattern makes the ascii_font.c file more human readable by adding linefeeds, but is otherwise not needed to generate valid C. Removing it allows this rule to build on macOS.

Tested on macOS 12.6 and Ubuntu:

make src/tools/ascii_font.c
make bin/md2h65
./bin/md2h65