This patch modifies the code to compile on Mac OS X. The patch is based on revision 555 from SVN. The patch was created on a 10.5 system and has not been tested on other versions of OS X. Java 1.5 must be used to compile, at least with Apple JDKs.
I have not extensively tested the build, but it appears to be working for me. I can capture packets, at least. :)
There are a couple of test cases that fail when running the tests target from the build script, so some additional work needs to be done to resolve those errors.
Updated mac port patchfile
File Added: mac_osx_port.diff
Updated patch with changes to use an appropriate device name for OS X in TestPcapJNI and TestPcapBetaJNI. Now all unit tests pass on OS X.