I tried to build the package and it fails without the patch so I guess it is 
still needed to build on Alpine (I'm adding Stuart Cardall who is the package 
maintainer in case he can comment on this).

Probably is only needed in Alpine, because of musl libc.

On mié, mar 6, 2019 at 1:17 AM, Ben Pfaff <b...@ovn.org> wrote:
On Wed, Mar 06, 2019 at 12:13:32AM +0000, Fernando Casas Schössow wrote:
And besides the ifupdown scripts the only patch it applies seems to be required 
by musl libc: musl-if_packet.patch --- openvswitch-2.4.0/lib/netdev-linux.c 
2015-08-20 00:33:42.960971996 +0000 +++ 
openvswitch-2.4.0/lib/netdev-linux.c.new 2015-08-22 18:16:10.741115156 +0000 @@ 
-37,10 +37,9 @@ #include <sys/ioctl.h> #include <sys/socket.h> #include 
<sys/utsname.h> -#include <netpacket/packet.h> #include <net/if.h> #include 
<net/if_arp.h> -#include <net/if_packet.h> +#include <linux/if_packet.h> 
#include <net/route.h> #include <netinet/in.h> #include <poll.h>
I'm going to assume that the 2.4.0 version number in the patch just means that 
it was originally applied to that version and later forward-ported. If this 
patch is still needed on master, let me know--we'll get it applied upstream.


_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to