net-vpn/openvpn-2.5.0-r1: Add patch to fix libressl (bug #651228)
Closes: https://bugs.gentoo.org/651228 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
parent
2801e63b9b
commit
754719bf31
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
|
||||
index f537652e..29306310 100644
|
||||
--- a/src/plugins/auth-pam/auth-pam.c
|
||||
+++ b/src/plugins/auth-pam/auth-pam.c
|
||||
@@ -47,6 +47,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <syslog.h>
|
||||
+#include <limits.h>
|
||||
#include "utils.h"
|
||||
|
||||
#include <openvpn-plugin.h>
|
|
@ -46,9 +46,12 @@ RDEPEND="${CDEPEND}
|
|||
selinux? ( sec-policy/selinux-openvpn )
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~TUN"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/openvpn-2.5.0-auth-pam-missing-header.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~TUN"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue