Here is an update to libdvdnav-mplayer. Libdvdread has been updated and bundled apart (see ports/127849 - libdvdread-mplayer).
Changelog : libdvdnav (4.1.3)
* an embarassing amount of fixes regarding potential memory and resource leaks
(patches contributed by Erik Hovland)
* added dvdread-config (dvdnav-config's younger brother)
* added pkg-config support
* split dvdread to a separate tree; now you need to check it out
and install it before building libdvdnav.
In order to configure libdvdnav We need the executable dvdread-config
somewhere in the PATH or explicitly specified to configure[2] with
--with-dvdread-config=~/bin/dvdread-config
Fix: Patch attached with submission follows: