[vlc-commits] contrib: gnutls: Drop connectx patch

David Fuhrmann git at videolan.org
Fri Jun 26 12:34:47 CEST 2020


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Feb 16 12:25:50 2019 +0100| [c2789408be5168d35bfc7872358cc3b189f31675] | committer: Steve Lhomme

contrib: gnutls: Drop connectx patch

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.

(cherry picked from commit dae2fff630562c5838098cb13cb6227a5ce05508) (edited)

edited:
- older gnutls patches were backported before

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=c2789408be5168d35bfc7872358cc3b189f31675
---

 contrib/src/gnutls/gnutls-disable-connectx-macos.patch | 12 ------------
 contrib/src/gnutls/rules.mak                           |  3 ---
 2 files changed, 15 deletions(-)

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)



More information about the vlc-commits mailing list