tried to fix few of them via stackoverflow answers
DO NOT COMMIT as-is while I think edlexport.C change is harmless (just extend netbsd/freebsd check for macosx).
sadly, linking still fails with
ld: warning: unknown stabs type 0x71 in x86_64/theme_data.o
ld: warning: unknown stabs type 0x71 in x86_64/theme_data.o
ld: warning: unknown stabs type 0x5F in x86_64/theme_data.o
ld: object file x86_64/theme_data.o was built for different x86_64 sub-type (-2147483645) than link command line (3) file 'x86_64/theme_data.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/andrewrandrianasulu/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1
so our fancy png in machine code object theme supports upsets MacOSX's clang ...?
also plugin linking completely fails ...