From 482f62e0b994a11f9203a09d27bbd32492c6223e Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Sat, 3 Jan 2015 15:17:41 +0000 Subject: [PATCH] socat: build fix for missing sock_extended_err (from fedora) --- srcpkgs/socat/patches/errqueue.patch | 10 ++++++++++ srcpkgs/socat/template | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/socat/patches/errqueue.patch 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