diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-12-07 17:03:40 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-09 12:37:10 +0000 |
commit | 033e4303d35140eb18c9973d3f63e1c8f50d7cd7 (patch) | |
tree | c3d52d4e03171992594e3959c93834bfe8fb0518 /meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch | |
parent | 2c05c868a08516b1fa4156b9d668d8ad1bcd8eae (diff) | |
download | openembedded-core-033e4303d35140eb18c9973d3f63e1c8f50d7cd7.tar.gz openembedded-core-033e4303d35140eb18c9973d3f63e1c8f50d7cd7.tar.bz2 openembedded-core-033e4303d35140eb18c9973d3f63e1c8f50d7cd7.tar.xz openembedded-core-033e4303d35140eb18c9973d3f63e1c8f50d7cd7.zip |
pulseaudio: upgrade to version 0.9.21
There is a bug in pulseaudio uptream which uses new instructions on old
arm platform. So we keep arm version of pulseaudio unchanged.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch')
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch new file mode 100644 index 000000000..a8292b2e1 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch @@ -0,0 +1,32 @@ +Derived from OE by Dongxiao Xu <dongxiao.xu@intel.com> + +Index: pulseaudio-0.9.15/m4/tls.m4 +=================================================================== +--- pulseaudio-0.9.15.orig/m4/tls.m4 2008-08-19 23:25:02.000000000 +0200 ++++ pulseaudio-0.9.15/m4/tls.m4 2009-07-10 09:55:25.266365511 +0200 +@@ -1,12 +1,19 @@ + AC_DEFUN([CC_CHECK_TLS], [ + AC_CACHE_CHECK([whether $CC knows __thread for Thread-Local Storage], + cc_cv_tls___thread, +- [AC_COMPILE_IFELSE( +- AC_LANG_PROGRAM( +- [[static __thread int a = 6;]], +- [[a = 5;]]), +- [cc_cv_tls___thread=yes], +- [cc_cv_tls___thread=no]) ++ [AC_LINK_IFELSE([__thread int a; int b; int main() { return a = b; }], ++ [chktls_save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" ++ chktls_save_CFLAGS="$CFLAGS" ++ CFLAGS="-fPIC $CFLAGS" ++ dnl If -shared works, test if TLS works in a shared library. ++ AC_LINK_IFELSE([int f() { return 0; }], ++ AC_LINK_IFELSE([__thread int a; int b; int f() { return a = b; }], ++ [cc_cv_tls___thread=yes], ++ [cc_cv_tls___thread=no]), ++ [cc_cv_tls___thread=yes]) ++ CFLAGS="$chktls_save_CFLAGS" ++ LDFLAGS="$chktls_save_LDFLAGS"], [cc_cv_tls___thread=no]) + ]) + + AS_IF([test "x$cc_cv_tls___thread" = "xyes"], |