diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2016-12-10 15:53:25 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2016-12-10 15:53:25 -0800 |
commit | 9c520cebd3751b3e7af1b8f94a1f5395f1d99429 (patch) | |
tree | a300ab220b56bfe6d88443d3b2da7e12fc08e65b /net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch | |
parent | media-libs/libXcm: Drop old (diff) | |
download | gentoo-9c520cebd3751b3e7af1b8f94a1f5395f1d99429.tar.gz gentoo-9c520cebd3751b3e7af1b8f94a1f5395f1d99429.tar.bz2 gentoo-9c520cebd3751b3e7af1b8f94a1f5395f1d99429.zip |
net-misc/openvpn: Revision bump, pull in upstrea patches to fix 100% cpu issue
Gentoo-Bug: 601646
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch')
-rw-r--r-- | net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch b/net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch new file mode 100644 index 000000000000..93b9045a8aa6 --- /dev/null +++ b/net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch @@ -0,0 +1,32 @@ +commit e62eccf025aa60ec268787d2aa4a46310ed1cd60 +Author: David Sommerseth <davids@openvpn.net> +Date: Tue Dec 6 23:10:51 2016 +0100 + + Fix wrong configure.ac parsing of --enable-async-push + + AC_ARG_ENABLE() was used wrong, which led enable_async_push to + always be set, regardless if --enable-async-push or --disable-async-push + was used. + + Also spotted the exact same patch when writing this commit message as + GitHub PR#70. + + Trac: #786 + Signed-off-by: David Sommerseth <davids@openvpn.net> + Acked-by: Lev Stipakov <lstipakov@gmail.com> + Message-Id: <1481062251-18349-1-git-send-email-davids@openvpn.net> + URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13411.html + +diff --git a/configure.ac b/configure.ac +index f4073d0..27bdcc3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -267,7 +267,7 @@ AC_ARG_ENABLE( + AC_ARG_ENABLE( + [async-push], + [AS_HELP_STRING([--enable-async-push], [enable async-push support @<:@default=no@:>@])], +- [enable_async_push="yes"], ++ , + [enable_async_push="no"] + ) + |