summaryrefslogtreecommitdiff
path: root/package/vlc/patches/patch-src_posix_error_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-01-16 11:59:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-01-17 08:44:44 +0100
commit5d33a85ff935273cef692a615993d70e6c249b0d (patch)
tree78077b9ee4297d7aa583049422f7614445d7a653 /package/vlc/patches/patch-src_posix_error_c
parentc870fbc162e4ccdfc78c29560f46e811e1a92b17 (diff)
vlc: update to 3.0.18
Diffstat (limited to 'package/vlc/patches/patch-src_posix_error_c')
-rw-r--r--package/vlc/patches/patch-src_posix_error_c27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/vlc/patches/patch-src_posix_error_c b/package/vlc/patches/patch-src_posix_error_c
deleted file mode 100644
index ef51c996e..000000000
--- a/package/vlc/patches/patch-src_posix_error_c
+++ /dev/null
@@ -1,27 +0,0 @@
---- vlc-2.2.4.orig/src/posix/error.c 2015-02-02 20:42:32.000000000 +0100
-+++ vlc-2.2.4/src/posix/error.c 2016-09-24 20:34:45.824539253 +0200
-@@ -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);
-
-@@ -48,9 +49,16 @@ static const char *vlc_strerror_l(int er
- errno = saved_errno;
- }
-
-+#if defined(__UCLIBC__)
-+ const char *buf = strerror_r(errnum, loc, 100);
-+#else
- const char *buf = strerror_l(errnum, loc);
-+#endif
-
- freelocale(loc);
-+#else
-+ const char *buf = strerror(errnum);
-+#endif
- return buf;
- }
-