From 1d641802dbca3db554fba5ea31c9c41f5133611c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 26 Apr 2015 13:45:22 -0500 Subject: optimize vlc package, add flavours, fix uClibc-ng compile --- package/vlc/patches/patch-src_posix_error_c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/vlc/patches/patch-src_posix_error_c (limited to 'package/vlc/patches/patch-src_posix_error_c') 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; -- cgit v1.2.3