summaryrefslogtreecommitdiff
path: root/package/vlc/patches/patch-src_posix_error_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
commit58549cb7a62a895b87d44efe98d8ce2e624b5d6f (patch)
treee68571e0501ef5da89dbe1089ad9f3eef470ac06 /package/vlc/patches/patch-src_posix_error_c
parent5ffc823114c78a9470a2ad17b2985575ecd362ec (diff)
parentce815fbe043c69f7ab8c51a3fa93c14445d7e1fc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/vlc/patches/patch-src_posix_error_c')
-rw-r--r--package/vlc/patches/patch-src_posix_error_c14
1 files changed, 14 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..3e720ec00
--- /dev/null
+++ b/package/vlc/patches/patch-src_posix_error_c
@@ -0,0 +1,14 @@
+--- vlc-2.2.1.orig/src/posix/error.c 2014-08-14 02:20:04.000000000 -0500
++++ vlc-2.2.1/src/posix/error.c 2015-04-25 21:13:22.287684003 -0500
+@@ -48,7 +48,11 @@ 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);
+ return buf;