[vlc-devel] [PACTH 3.0 06/21] contrib: gnutls: Drop connectx patch

Steve Lhomme robux4 at ycbcr.xyz
Mon Jun 22 09:02:46 CEST 2020


From: David Fuhrmann <dfuhrmann at videolan.org>

connectx is available since macOS 10.11 and iOS 9, so this is not
needed anymore.

Note, this cannot be backported to 3.0 branch.

Edited and cherry picked from commit dae2fff630562c5838098cb13cb6227a5ce05508:
- older gnutls patches were backported before

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
---
 .../src/gnutls/gnutls-disable-connectx-macos.patch   | 12 ------------
 contrib/src/gnutls/rules.mak                         |  3 ---
 2 files changed, 15 deletions(-)
 delete mode 100644 contrib/src/gnutls/gnutls-disable-connectx-macos.patch

diff --git a/contrib/src/gnutls/gnutls-disable-connectx-macos.patch b/contrib/src/gnutls/gnutls-disable-connectx-macos.patch
deleted file mode 100644
index 47ca4226be..0000000000
--- a/contrib/src/gnutls/gnutls-disable-connectx-macos.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- gnutls/lib/system/fastopen.c	2017-12-26 18:00:54.041282870 +0100
-+++ gnutls/lib/system/fastopen.c.new	2017-12-26 18:00:09.209281540 +0100
-@@ -36,7 +36,8 @@
- #endif
- 
- /* TCP Fast Open on OSX behaves differently from Linux, so define these helpers */
--#if defined __APPLE__ && defined __MACH__ && defined CONNECT_DATA_IDEMPOTENT && defined CONNECT_RESUME_ON_READ_WRITE
-+#if 0
-+// defined __APPLE__ && defined __MACH__ && defined CONNECT_DATA_IDEMPOTENT && defined CONNECT_RESUME_ON_READ_WRITE
- # define TCP_FASTOPEN_OSX
- #elif defined TCP_FASTOPEN && defined MSG_FASTOPEN
- # define TCP_FASTOPEN_LINUX
diff --git a/contrib/src/gnutls/rules.mak b/contrib/src/gnutls/rules.mak
index 92a298c78e..03f4197010 100644
--- a/contrib/src/gnutls/rules.mak
+++ b/contrib/src/gnutls/rules.mak
@@ -25,9 +25,6 @@ ifdef HAVE_WIN32
 endif
 ifdef HAVE_ANDROID
 	$(APPLY) $(SRC)/gnutls/no-create-time-h.patch
-endif
-ifdef HAVE_MACOSX
-	$(APPLY) $(SRC)/gnutls/gnutls-disable-connectx-macos.patch
 endif
 	$(call pkg_static,"lib/gnutls.pc.in")
 	$(UPDATE_AUTOCONFIG)
-- 
2.26.2



More information about the vlc-devel mailing list