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

socat patch 1.4.0.2

Patch

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

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

cd ~/Src/socat-1.4

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

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

Then recompile:

make depend; make