summaryrefslogtreecommitdiff
path: root/package/vlc/patches/patch-src_misc_linux_specific_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
commit6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (patch)
treef002fe1b2c355f06627c9757dc9fc30c71435f43 /package/vlc/patches/patch-src_misc_linux_specific_c
parentdecf972fcbb3b42947f8778222877ab1663ef04b (diff)
parente095941418bffcb4f2afc03072eb1f045e39ed9d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/vlc/patches/patch-src_misc_linux_specific_c')
-rw-r--r--package/vlc/patches/patch-src_misc_linux_specific_c19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/vlc/patches/patch-src_misc_linux_specific_c b/package/vlc/patches/patch-src_misc_linux_specific_c
new file mode 100644
index 000000000..f25b1ea57
--- /dev/null
+++ b/package/vlc/patches/patch-src_misc_linux_specific_c
@@ -0,0 +1,19 @@
+--- vlc-1.1.11.orig/src/misc/linux_specific.c 2011-07-14 13:27:03.000000000 +0200
++++ vlc-1.1.11/src/misc/linux_specific.c 2011-09-15 06:35:43.887989501 +0200
+@@ -83,14 +83,14 @@ static struct
+ unsigned refs;
+ } once = { VLC_STATIC_MUTEX, 0 };
+
+-#ifdef __GLIBC__
++#ifndef __UCLIBC__
+ # include <gnu/libc-version.h>
+ # include <stdlib.h>
+ #endif
+
+ void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
+ {
+-#ifdef __GLIBC__
++#ifndef __UCLIBC__
+ const char *glcv = gnu_get_libc_version ();
+
+ /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,