Compilation error on FreeBSD 7.0 audacity 1.3.4

I keep getting the following when trying to compile audacity 1.3.4 on FreeBSD 7.0 amd64. Any clues on how to fix this?

c++ -c -O2 -fno-strict-aliasing -pipe -march=opteron -I…/lib-src/portmixer/px_common -I…/lib-src/portaudio/pa_common -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/local/include -I/usr/local/include -I…/lib-src/libresample/include -I/usr/local/include/soundtouch -I…/lib-src/libnyquist/nyx -I…/lib-src/libvamp -I/usr/local/include -I…/lib-src/allegro -I…/lib-src/FileDialog -Wall -fno-strict-aliasing -I./include -I. -I/usr/local/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -D_THREAD_SAFE -DAUDACITY_DLL_API=‘’ AudioIO.cpp -o AudioIO.o
AudioIO.cpp: In member function ‘int AudioIO::StartStream(WaveTrackArray, WaveTrackArray, TimeTrack*, double, double, double, AudioIOListener*, bool, double, double)’:
AudioIO.cpp:1025: warning: use of ‘h’ length modifier with ‘s’ type character
AudioIO.cpp: In member function ‘wxString AudioIO::GetDeviceInfo()’:
AudioIO.cpp:1757: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultLowInputLatency’
AudioIO.cpp:1758: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultLowOutputLatency’
AudioIO.cpp:1759: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultHighInputLatency’
AudioIO.cpp:1760: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultHighOutputLatency’
gmake[1]: *** [AudioIO.o] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/audacity-devel/work/audacity-src-1.3.4-beta/src’
gmake: *** [audacity] Error 2
*** Error code 2

Use portaudio-v19 as by default? Nobody is testing portaudio v18 any more, so there are probably things that would have to be #ifdefed for it that aren’t. Using 1.3.5 would be good as well.