The latest release of Portable UPnP SDK contains:
- Several important fixes for x86_64 systems.
- One important bug fix in makeAction() for all systems.
- The possibility of beeing compiled on FreeBSD (still needs testing).
You can get it here:
http://downloads.sourceforge.net/pupnp/libupnp-1.4.5.tar.bz2
The changelog can be seen here:
https://sourceforge.net/project/shownotes.php?group_id=166957&release_id=504488
Enjoy!