diff --git a/srcpkgs/socat/patches/errqueue.patch b/srcpkgs/socat/patches/errqueue.patch new file mode 100644 index 00000000000..aaa2d80b0af --- /dev/null +++ b/srcpkgs/socat/patches/errqueue.patch @@ -0,0 +1,10 @@ +--- xio-ip.c ++++ xio-ip.c +@@ -42,6 +42,7 @@ + const struct optdesc opt_ip_hdrincl = { "ip-hdrincl", "hdrincl", OPT_IP_HDRINCL, GROUP_SOCK_IP, PH_PASTSOCKET, TYPE_INT, OFUNC_SOCKOPT, SOL_IP, IP_HDRINCL }; + #endif + #ifdef IP_RECVERR ++# include + const struct optdesc opt_ip_recverr = { "ip-recverr", "recverr", OPT_IP_RECVERR, GROUP_SOCK_IP, PH_PASTSOCKET, TYPE_INT, OFUNC_SOCKOPT, SOL_IP, IP_RECVERR }; + #endif + #ifdef IP_MTU_DISCOVER diff --git a/srcpkgs/socat/template b/srcpkgs/socat/template index f1d08b83f7f..418f75936a1 100644 --- a/srcpkgs/socat/template +++ b/srcpkgs/socat/template @@ -14,4 +14,3 @@ license="GPL-3" homepage="http://www.dest-unreach.org/socat/" distfiles="http://www.dest-unreach.org/socat/download/socat-$version.tar.bz2" checksum=4b7739901c6fad1e460f3e5b1868fb4c2a1427febbba7a510cd2e42fd4941e09 -broken=yes