summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/pulseaudio/libatomics-ops
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/libatomics-ops')
-rw-r--r--meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch25
-rw-r--r--meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch15
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch b/meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch
new file mode 100644
index 0000000000..2172cac41e
--- /dev/null
+++ b/meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch
@@ -0,0 +1,25 @@
1Double path references breaks recent autoconf+automake
2
3RP 2/1/10
4
5Index: libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am
6===================================================================
7--- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/Makefile.am 2005-09-28 00:53:16.000000000 +0100
8+++ libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am 2010-02-01 14:28:46.397820574 +0000
9@@ -25,7 +25,6 @@
10 README \
11 \
12 gcc/alpha.h gcc/arm.h gcc/x86.h \
13- gcc/hppa.h gcc/ia64.h \
14 gcc/powerpc.h gcc/sparc.h \
15 gcc/hppa.h gcc/m68k.h gcc/s390.h \
16 gcc/ia64.h gcc/x86_64.h gcc/cris.h \
17Index: libatomic_ops-1.2/doc/Makefile.am
18===================================================================
19--- libatomic_ops-1.2.orig/doc/Makefile.am 2010-02-01 15:20:09.207788884 +0000
20+++ libatomic_ops-1.2/doc/Makefile.am 2010-02-01 15:20:20.909049794 +0000
21@@ -1,3 +1,3 @@
22 # installed documentation
23 #
24-dist_pkgdata_DATA=COPYING LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt
25+dist_pkgdata_DATA=LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt
diff --git a/meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch b/meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch
new file mode 100644
index 0000000000..51161dbe0f
--- /dev/null
+++ b/meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch
@@ -0,0 +1,15 @@
1http://cvs.fedoraproject.org/viewcvs/devel/libatomic_ops/libatomic_ops-1.2-ppclwzfix.patch
2
3* add fix for bad variable handling on PPC
4
5--- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:29:52.000000000 +0200
6+++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:30:48.000000000 +0200
7@@ -72,7 +72,7 @@
8 /* registers. I always got "impossible constraint" when I */
9 /* tried the "y" constraint. */
10 __asm__ __volatile__ (
11- "lwz %0,%1\n"
12+ "lwz%U1%X1 %0,%1\n"
13 "cmpw cr7,%0,%0\n"
14 "bne- cr7,1f\n"
15 "1: isync\n"