dest-unreach / socat / contrib / socat-patch-

socat patch


If you alread have socat source and you want to have but do not want to download the whole package again or for some other reason prefer to apply a patch, then proceed as follows:

Download the patch to a temporary directory, e.g. /tmp: socat-

Change to the socat source directory, e.g.:

cd ~/Src/socat-1.4

Uncompress the patch and apply it, e.g.:

gunzip </tmp/socat- |patch -p1

Correct the permissions of the new test script, if you intend to run the tests:

chmod a+x

Then proceed as usual:

make distclean; ./configure && make