Brendan,
That's because the attached patch expects the bundled patches are already applied.
Here's how I did (as non-root):
$ sudo apt-get build-dep tsocks [--snip--] $ apt-get source tsocks [--snip--] $ cp 07_init.dpatch tsocks-1.8beta5/debian/patches/ $ cd tsocks-1.8beta5/ $ dpkg-buildpacakge -us -uc [--snip--] $ cd .. $ sudo apt-get purge tsocks $ sudo dpkg --install tsocks_1.8beta5-9.3_amd64.deb
Also, to avoid tsocks being re-installed from the repository every time I run "make dist-upgrade", I simply uninstalled it before installing my locally-built tsocks (hence the "apt-get purge tsocks in the commands above).
Brendan,
That's because the attached patch expects the bundled patches are already applied.
Here's how I did (as non-root):
$ sudo apt-get build-dep tsocks 1.8beta5/ debian/ patches/ 1.8beta5- 9.3_amd64. deb
[--snip--]
$ apt-get source tsocks
[--snip--]
$ cp 07_init.dpatch tsocks-
$ cd tsocks-1.8beta5/
$ dpkg-buildpacakge -us -uc
[--snip--]
$ cd ..
$ sudo apt-get purge tsocks
$ sudo dpkg --install tsocks_
Also, to avoid tsocks being re-installed from the repository every time I run "make dist-upgrade", I simply uninstalled it before installing my locally-built tsocks (hence the "apt-get purge tsocks in the commands above).