That illustrates the changes necessary, however, is not fit for actual use (would probably break other platforms) so is mostly provided as documentation.
The other ordeal might be that the cflags, lflags, should be defaults under FreeBSD in jpm but am not sure if that is true or not. Depends on what those are under other platforms. The _POSIX_C_SOURCE define breaks soundcard.h on some platforms supposedly (currently on FreeBSD to our knowledge).
cflags, lflags, and defines need to be FreeBSD specific in this case:
That illustrates the changes necessary, however, is not fit for actual use (would probably break other platforms) so is mostly provided as documentation.
The other ordeal might be that the cflags, lflags, should be defaults under FreeBSD in jpm but am not sure if that is true or not. Depends on what those are under other platforms. The
_POSIX_C_SOURCE
define breakssoundcard.h
on some platforms supposedly (currently on FreeBSD to our knowledge).