summaryrefslogtreecommitdiff
path: root/package/vlc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 13:45:22 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 13:45:28 -0500
commit1d641802dbca3db554fba5ea31c9c41f5133611c (patch)
treedbbbb83fd05c07ef4a62779bdb6e5b82329d4023 /package/vlc/patches
parent8cbbd126e2608735bf50135b21778a21cc4c2dc9 (diff)
optimize vlc package, add flavours, fix uClibc-ng compile
Diffstat (limited to 'package/vlc/patches')
-rw-r--r--package/vlc/patches/patch-modules_misc_inhibit_xdg_c10
-rw-r--r--package/vlc/patches/patch-src_posix_error_c14
2 files changed, 14 insertions, 10 deletions
diff --git a/package/vlc/patches/patch-modules_misc_inhibit_xdg_c b/package/vlc/patches/patch-modules_misc_inhibit_xdg_c
deleted file mode 100644
index 59643a5b3..000000000
--- a/package/vlc/patches/patch-modules_misc_inhibit_xdg_c
+++ /dev/null
@@ -1,10 +0,0 @@
---- vlc-2.1.1.orig/modules/misc/inhibit/xdg.c 2013-06-24 20:00:38.000000000 +0200
-+++ vlc-2.1.1/modules/misc/inhibit/xdg.c 2013-12-06 19:42:43.000000000 +0100
-@@ -28,7 +28,6 @@
- #include <assert.h>
- #include <errno.h>
- #include <signal.h>
--#include <spawn.h>
- #include <sys/wait.h>
-
- static int Open (vlc_object_t *);
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;