dest-unreach / socat / contrib / nonlinux-compile

Non-Linux compile error patch

Introduction

socat version 2 release candidates up to beta-4 had only been test on Linux. A structure components name that had been changed in the code was forgotten in a branch that is compiled only on some other platforms, especially BSD and MacOS. Therefore compiling failed for these systems.

Michael Terzo and others contributed fixes to this problem.

Requisites

Apply these patches to socat 2.0.0-b2, -b3, or -b4 source.

Download

socat2-nonlinux-1.patch

Future

This fix will be in all versions following 2.0.0-b4