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

socat patch 1.4.0.1

Patch

If you alread have socat 1.4.0.0 source and you want to have 1.4.0.1 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-1.4.0.1.patch.gz

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

cd ~/Src/socat-1.4

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

gunzip </tmp/socat-1.4.0.1.patch.gz |patch -p1

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

chmod a+x socks4a-echo.sh

Then proceed as usual:

make distclean; ./configure && make