mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Unbreak GnuTLS support for 7.x and 8.x
This commit is contained in:
parent
0965c62ee4
commit
c3e6deebb6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299869
2 changed files with 11 additions and 3 deletions
|
@ -42,9 +42,6 @@ GNUTLS_DESC= Use GnuTLS instead of OpenSSL(EXPERIMENTAL)
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MGNUTLS}
|
.if ${PORT_OPTIONS:MGNUTLS}
|
||||||
.if ${OSVERSION} < 900007
|
|
||||||
BROKEN= GnuTLS support currently requires FreeBSD 9.x or above
|
|
||||||
.endif
|
|
||||||
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
|
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
|
||||||
CONFIGURE_ARGS+=--with-gnutls
|
CONFIGURE_ARGS+=--with-gnutls
|
||||||
.endif
|
.endif
|
||||||
|
|
11
security/openconnect/files/patch-gnutls.c
Normal file
11
security/openconnect/files/patch-gnutls.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./gnutls.c.orig 2012-06-24 07:29:27.000000000 -0400
|
||||||
|
+++ ./gnutls.c 2012-06-24 07:29:43.000000000 -0400
|
||||||
|
@@ -239,7 +239,7 @@
|
||||||
|
/* For systems that don't support O_CLOEXEC, just don't bother.
|
||||||
|
It's not open for long anyway. */
|
||||||
|
#ifndef O_CLOEXEC
|
||||||
|
-#define O_CLOEXEC
|
||||||
|
+#define O_CLOEXEC 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static int load_datum(struct openconnect_info *vpninfo,
|
Loading…
Add table
Reference in a new issue