socat: build fix for missing sock_extended_err (from fedora)
This commit is contained in:
parent
a8f8353240
commit
482f62e0b9
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue