diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-03-05 11:48:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-03-05 11:53:26 +0100 |
commit | 73cc824c69f3ab0dadec5ecc06e752c5a8c48850 (patch) | |
tree | b14f101c58710502ffe236b2d197430fc9d0c4e1 /package/vlc/patches/patch-src_posix_error_c | |
parent | 4b75843dc76db72c2aafb6979fd7a73e88060ae1 (diff) |
vlc: update to 3.0.20
Diffstat (limited to 'package/vlc/patches/patch-src_posix_error_c')
-rw-r--r-- | package/vlc/patches/patch-src_posix_error_c | 20 |
1 files changed, 20 insertions, 0 deletions
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; + } + |