diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-09-15 18:51:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-09-15 18:51:01 +0200 |
commit | 42dd9bd2011b230d4cd55eb41c3f91e74e9a4c95 (patch) | |
tree | 43c3d55e530983a79b882812faad045055da4122 /package/vlc/patches/patch-src_misc_linux_specific_c | |
parent | b0850a35c444001d10157dbc2292daccfa70bce4 (diff) |
add new package vlc
Diffstat (limited to 'package/vlc/patches/patch-src_misc_linux_specific_c')
-rw-r--r-- | package/vlc/patches/patch-src_misc_linux_specific_c | 19 |
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, |