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

socat patch


If you already have socat source and you want to update to 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-

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

gunzip </tmp/socat- |patch -p1

Then recompile:

make depend; make