socat: build fix for missing sock_extended_err (from fedora)

This commit is contained in:
Eivind Uggedal 2015-01-03 15:17:41 +00:00
parent a8f8353240
commit 482f62e0b9
2 changed files with 10 additions and 1 deletions

View File

@ -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 <linux/errqueue.h>
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

View File

@ -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