find below a diff that brings net/torsocks to latest release 2.2.0
getpw() patch was removed along with others since those are no
longer required, new patches added to cope with #if's, and some
former patches were tweaked to reflect changes in new release.
it now requires gnu libtool, it's not able to compile by using base
tests pass at least on amd64 and works fine, tested with lynx.