summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-05 11:48:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-05 11:53:26 +0100
commit73cc824c69f3ab0dadec5ecc06e752c5a8c48850 (patch)
treeb14f101c58710502ffe236b2d197430fc9d0c4e1
parent4b75843dc76db72c2aafb6979fd7a73e88060ae1 (diff)
vlc: update to 3.0.20
-rw-r--r--package/vlc/Makefile4
-rw-r--r--package/vlc/patches/patch-configure_ac11
-rw-r--r--package/vlc/patches/patch-src_posix_error_c20
3 files changed, 33 insertions, 2 deletions
diff --git a/package/vlc/Makefile b/package/vlc/Makefile
index ab1bbcb73..ccf59458d 100644
--- a/package/vlc/Makefile
+++ b/package/vlc/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= vlc
-PKG_VERSION:= 3.0.18
+PKG_VERSION:= 3.0.20
PKG_RELEASE:= 1
-PKG_HASH:= 57094439c365d8aa8b9b41fa3080cc0eef2befe6025bb5cef722accc625aedec
+PKG_HASH:= adc7285b4d2721cddf40eb5270cada2aaa10a334cb546fd55a06353447ba29b5
PKG_DESCR:= popular media player
PKG_SECTION:= mm/video
PKG_DEPENDS:= libffmpeg xcb-util libgcrypt alsa-lib
diff --git a/package/vlc/patches/patch-configure_ac b/package/vlc/patches/patch-configure_ac
new file mode 100644
index 000000000..ead8c4c7e
--- /dev/null
+++ b/package/vlc/patches/patch-configure_ac
@@ -0,0 +1,11 @@
+--- 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,,
diff --git a/package/vlc/patches/patch-src_posix_error_c b/package/vlc/patches/patch-src_posix_error_c
new file mode 100644
index 000000000..413f97f7d
--- /dev/null
+++ b/package/vlc/patches/patch-src_posix_error_c
@@ -0,0 +1,20 @@
+--- vlc-3.0.20.orig/src/posix/error.c 2017-11-24 16:29:18.000000000 +0100
++++ vlc-3.0.20/src/posix/error.c 2024-03-03 07:55:57.955760063 +0100
+@@ -31,6 +31,7 @@
+
+ static const char *vlc_strerror_l(int errnum, const char *lname)
+ {
++#ifdef HAVE_STRERROR_L
+ int saved_errno = errno;
+ locale_t loc = newlocale(LC_MESSAGES_MASK, lname, (locale_t)0);
+
+@@ -51,6 +52,9 @@ static const char *vlc_strerror_l(int er
+ const char *buf = strerror_l(errnum, loc);
+
+ freelocale(loc);
++#else
++ const char *buf = strerror(errnum);
++#endif
+ return buf;
+ }
+