Using patch.sh on macOS

patch.sh seems to use pacman which is not available on macOS as far as I know. Does anyone have an idea how I can run the patch?

Thanks, Jannik

Apparently including the world.h file works since I can use CORRECT_UNICODE but util.h does not get included, e.g. using NOT_IMPLEMENTED gives the following error: identifier "NOT_IMPLEMENTED" is undefined. I don’t know what to change since .clangd seems to include the whole include directory

Also: is the makefile also not supposed to work?
Error message:
===> LD bin/wordle_opt
Undefined symbols for architecture arm64
"_destroy", referenced from:
_main in main-a5008b.o
"_generateDict", referenced from:
_main in main-a5008b.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/wordle_opt] Error 1

Thanks for your help