[vlc-commits] [Git][videolan/vlc][3.0.x] 3 commits: contrib: gnutls: update to 3.8.10
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat Aug 30 09:09:03 UTC 2025
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
73bad97d by Steve Lhomme at 2025-08-30T08:17:23+00:00
contrib: gnutls: update to 3.8.10
It builds properly with gcc 14 mingw-w64.
(cherry picked from commit 20cb70f22beb160eff022ae69ed3e23c373936f8)
- - - - -
9e6dd813 by Steve Lhomme at 2025-08-30T08:17:23+00:00
contrib: use ftpmirror for GNU packages
It's less overloaded and the recommended URL [^1].
[^1]: https://www.gnu.org/prep/ftp.en.html
(cherry picked from commit 0150e3d5cfd0344d00391ad09f6b9585f9d4b495) (edited)
edited:
- 3.0 did not switch to https
- - - - -
dfbec325 by Steve Lhomme at 2025-08-30T08:17:23+00:00
contrib: cddb: fix more gcc 14 issues with mingw-w64
(cherry picked from commit 3dc740c6547441769500e8b4f9af1db8d5c2fc76)
- - - - -
4 changed files:
- contrib/src/cddb/cddb-gcc14-getsockoptfix.patch
- contrib/src/gnutls/SHA512SUMS
- contrib/src/gnutls/rules.mak
- contrib/src/main.mak
Changes:
=====================================
contrib/src/cddb/cddb-gcc14-getsockoptfix.patch
=====================================
@@ -2,15 +2,33 @@
--- b/lib/cddb_net.c 2025-02-28 13:13:17.680209272 +0000
+++ a/lib/cddb_net.c 2025-02-28 13:15:19.318977753 +0000
-@@ -268,7 +268,7 @@
+@@ -265,10 +265,16 @@ int timeout_connect(int sockfd, const st
+ if (connect(sockfd, addr, len) == -1) {
+ /* check whether we can continue */
+ if (errno == EINPROGRESS) {
++#ifdef _WIN32
++ DWORD rv;
++#define GETSOCKOPT_VAL_TYPE char
++#else
int rv;
++#define GETSOCKOPT_VAL_TYPE int
++#endif
fd_set wfds;
struct timeval tv;
- size_t l;
+ socklen_t l;
-
+
/* set up select time out */
tv.tv_sec = timeout;
+@@ -288,7 +294,7 @@ int timeout_connect(int sockfd, const st
+ default:
+ /* we got connected, check error condition */
+ l = sizeof(rv);
+- getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, &l);
++ getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (GETSOCKOPT_VAL_TYPE*)&rv, &l);
+ if (rv) {
+ /* something went wrong, simulate normal connect behaviour */
+ errno = rv;
--- a/configure.ac.orig 2025-03-06 10:32:40.974509646 +0000
+++ b/configure.ac 2025-03-09 10:13:07.446501285 +0000
@@ -133,6 +133,21 @@
=====================================
contrib/src/gnutls/SHA512SUMS
=====================================
@@ -1 +1 @@
-74eddba01ce4c2ffdca781c85db3bb52c85f1db3c09813ee2b8ceea0608f92ca3912fd9266f55deb36a8ba4d01802895ca5d5d219e7d9caec45e1a8534e45a84 gnutls-3.8.3.tar.xz
+d453bd4527af95cb3905ce8753ceafd969e3f442ad1d148544a233ebf13285b999930553a805a0511293cc25390bb6a040260df5544a7c55019640f920ad3d92 gnutls-3.8.10.tar.xz
=====================================
contrib/src/gnutls/rules.mak
=====================================
@@ -1,7 +1,7 @@
# GnuTLS
GNUTLS_MAJVERSION := 3.8
-GNUTLS_VERSION := $(GNUTLS_MAJVERSION).3
+GNUTLS_VERSION := $(GNUTLS_MAJVERSION).10
GNUTLS_URL := $(GNUGPG)/gnutls/v$(GNUTLS_MAJVERSION)/gnutls-$(GNUTLS_VERSION).tar.xz
# nettle/gmp can't be used with the LGPLv2 license
=====================================
contrib/src/main.mak
=====================================
@@ -18,7 +18,7 @@ DATE := $(shell date +%Y%m%d)
VPATH := $(TARBALLS)
# Common download locations
-GNU ?= http://ftp.gnu.org/gnu
+GNU ?= http://ftpmirror.gnu.org/gnu
SF := https://netcologne.dl.sourceforge.net/
VIDEOLAN := http://downloads.videolan.org/pub/videolan
CONTRIB_VIDEOLAN := http://downloads.videolan.org/pub/contrib
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7bc5e75d46c072e3fb891fc0e5fde1bf4790e77f...dfbec325520e36c83775c74120fdb3e5e38f35f6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7bc5e75d46c072e3fb891fc0e5fde1bf4790e77f...dfbec325520e36c83775c74120fdb3e5e38f35f6
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list