Browse Source

vlc: update to 3.0.23, more finetuning required

Waldemar Brodkorb 1 week ago
parent
commit
d6d34b65d3

+ 2 - 2
package/vlc/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		vlc
-PKG_VERSION:=		3.0.20
+PKG_VERSION:=		3.0.23
 PKG_RELEASE:=		1
-PKG_HASH:=		adc7285b4d2721cddf40eb5270cada2aaa10a334cb546fd55a06353447ba29b5
+PKG_HASH:=		e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0
 PKG_DESCR:=		popular media player
 PKG_SECTION:=		mm/video
 PKG_DEPENDS:=		libffmpeg xcb-util libgcrypt alsa-lib

+ 0 - 11
package/vlc/patches/patch-configure_ac

@@ -1,11 +0,0 @@
---- vlc-3.0.20.orig/configure.ac	2023-10-30 08:25:45.000000000 +0100
-+++ vlc-3.0.20/configure.ac	2024-03-03 07:55:57.955760063 +0100
-@@ -631,7 +631,7 @@ dnl Check for system libs needed
- need_libc=false
- 
- dnl Check for usual libc functions
--AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatvfs fork getenv getmntent_r getpwuid_r isatty lstat memalign mkostemp mmap newlocale open_memstream openat pipe2 pread posix_fadvise posix_madvise posix_memalign setlocale stricmp strnicmp strptime uselocale])
-+AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatvfs fork getenv getmntent_r getpwuid_r isatty lstat memalign mkostemp mmap newlocale open_memstream openat pipe2 pread posix_fadvise posix_madvise posix_memalign setlocale strerror_l stricmp strnicmp strptime uselocale])
- AC_REPLACE_FUNCS([aligned_alloc atof atoll dirfd fdopendir ffsll flockfile fsync getdelim getpid lfind lldiv memrchr nrand48 poll recvmsg rewind sendmsg setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof strtok_r strtoll swab tdestroy tfind timegm timespec_get strverscmp pathconf])
- AC_REPLACE_FUNCS([gettimeofday])
- AC_CHECK_FUNC(fdatasync,,

+ 29 - 0
package/vlc/patches/patch-src_extras_libc_c

@@ -0,0 +1,29 @@
+--- vlc-3.0.23.orig/src/extras/libc.c	2025-12-23 11:49:21.000000000 +0100
++++ vlc-3.0.23/src/extras/libc.c	2026-02-22 21:28:32.652332391 +0100
+@@ -437,7 +437,7 @@ vlc_iconv_t vlc_iconv_open( const char *
+ 
+     return ( vlc_iconv_t )p_os2_iconv;
+ # else
+-    return iconv_open( tocode, fromcode );
++    return (vlc_iconv_t)iconv_open( tocode, fromcode );
+ # endif
+ #else
+     return (vlc_iconv_t)(-1);
+@@ -470,7 +470,7 @@ size_t vlc_iconv( vlc_iconv_t cd, const
+         if (inbuf != NULL)
+             cin = (ICONV_CONST char *)*inbuf;
+ 
+-        ret = iconv( cd, &cin, inbytesleft, outbuf, outbytesleft );
++        ret = iconv( (iconv_t)cd, &cin, inbytesleft, outbuf, outbytesleft );
+         if (inbuf != NULL)
+             *inbuf = cin;
+     }
+@@ -487,7 +487,7 @@ int vlc_iconv_close( vlc_iconv_t cd )
+         return 0;
+ #endif
+ #if defined(HAVE_ICONV)
+-    return iconv_close( cd );
++    return iconv_close( (iconv_t)cd );
+ #else
+     abort ();
+ #endif

+ 5 - 0
package/vlc/patches/patch-src_revision_c

@@ -0,0 +1,5 @@
+--- vlc-3.0.23.orig/src/revision.c	2025-12-23 12:00:14.000000000 +0100
++++ vlc-3.0.23/src/revision.c	2026-02-22 21:10:50.152907982 +0100
+@@ -1 +1 @@
+-const char psz_vlc_changeset[] = "3.0.23-2-0-g79128878dd";
++const char psz_vlc_changeset[] = "bf934e746";

+ 5 - 0
package/vlc/patches/patch-src_revision_txt

@@ -0,0 +1,5 @@
+--- vlc-3.0.23.orig/src/revision.txt	2025-12-23 12:00:14.000000000 +0100
++++ vlc-3.0.23/src/revision.txt	2026-02-22 21:10:50.136908017 +0100
+@@ -1 +1 @@
+-3.0.23-2-0-g79128878dd
++bf934e746