diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-02-16 09:59:16 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-02-16 09:59:35 +0100 |
commit | 7dd4310aac4f0a15fa98a4bdbb379d7d4882ce97 (patch) | |
tree | e86090823c9b46bf06c4cec8a8da5ed42e388738 /net-vpn/libreswan/files | |
parent | dev-vcs/git: stable 2.16.1 for sparc, bug #647446 (diff) | |
download | gentoo-7dd4310aac4f0a15fa98a4bdbb379d7d4882ce97.tar.gz gentoo-7dd4310aac4f0a15fa98a4bdbb379d7d4882ce97.tar.bz2 gentoo-7dd4310aac4f0a15fa98a4bdbb379d7d4882ce97.zip |
net-vpn/libreswan: fix glibc/kernel incompatibility, bug 647198
Apply upstream patch to support newer glibc and kernel combinations.
Not applied upstream yet because they also need to support old
distributions. This patch works with current stable glibc 2.25.
Closes: https://bugs.gentoo.org/647198
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-vpn/libreswan/files')
-rw-r--r-- | net-vpn/libreswan/files/libreswan-3.23-modern-kernels.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-vpn/libreswan/files/libreswan-3.23-modern-kernels.patch b/net-vpn/libreswan/files/libreswan-3.23-modern-kernels.patch new file mode 100644 index 000000000000..5dedfeb34c7d --- /dev/null +++ b/net-vpn/libreswan/files/libreswan-3.23-modern-kernels.patch @@ -0,0 +1,15 @@ +diff --git a/programs/pluto/kernel_netlink.c +b/programs/pluto/kernel_netlink.c +index 8cec3a2..a2500f4 100644 +--- a/programs/pluto/kernel_netlink.c ++++ b/programs/pluto/kernel_netlink.c +@@ -51,8 +51,8 @@ + #include <linux/if_addr.h> + #include <linux/if_link.h> + +-#include "libreswan.h" /* before xfrm.h otherwise break on F22 */ + #include "linux/xfrm.h" /* local (if configured) or system copy */ ++#include "libreswan.h" /* before xfrm.h otherwise break on F22 */ + + #include "libreswan/pfkeyv2.h" + #include "libreswan/pfkey.h" |