diff options
author | Koen Kooi <koen@openembedded.org> | 2008-04-12 10:37:21 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-04-12 10:37:21 +0000 |
commit | 7ca48a4e9ef4a50e831ddd695de76c5351cc872a (patch) | |
tree | 7aee6a3fbabee531866225a6ab2d002093f0afac /packages | |
parent | f2f5b8ab6d388ffca32a52a832a0044099d39a65 (diff) |
libatomic-ops: add patch to fix powerpc support from fedora
Diffstat (limited to 'packages')
4 files changed, 20 insertions, 1 deletions
diff --git a/packages/pulseaudio/libatomics-ops/.mtn2git_empty b/packages/pulseaudio/libatomics-ops/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/pulseaudio/libatomics-ops/.mtn2git_empty diff --git a/packages/pulseaudio/libatomics-ops/fedora/.mtn2git_empty b/packages/pulseaudio/libatomics-ops/fedora/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/pulseaudio/libatomics-ops/fedora/.mtn2git_empty diff --git a/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch b/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch new file mode 100644 index 0000000000..51161dbe0f --- /dev/null +++ b/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch @@ -0,0 +1,15 @@ +http://cvs.fedoraproject.org/viewcvs/devel/libatomic_ops/libatomic_ops-1.2-ppclwzfix.patch + +* add fix for bad variable handling on PPC + +--- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:29:52.000000000 +0200 ++++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:30:48.000000000 +0200 +@@ -72,7 +72,7 @@ + /* registers. I always got "impossible constraint" when I */ + /* tried the "y" constraint. */ + __asm__ __volatile__ ( +- "lwz %0,%1\n" ++ "lwz%U1%X1 %0,%1\n" + "cmpw cr7,%0,%0\n" + "bne- cr7,1f\n" + "1: isync\n" diff --git a/packages/pulseaudio/libatomics-ops_1.2.bb b/packages/pulseaudio/libatomics-ops_1.2.bb index c4e838eb78..0563eb6382 100644 --- a/packages/pulseaudio/libatomics-ops_1.2.bb +++ b/packages/pulseaudio/libatomics-ops_1.2.bb @@ -1,7 +1,11 @@ DESCRIPTION = "A library for atomic integer operations" LICENSE = "MIT" -SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-1.2.tar.gz" +PR = "r1" + +SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-1.2.tar.gz \ + file://fedora/libatomic_ops-1.2-ppclwzfix.patch;patch=1" + S = "${WORKDIR}/libatomic_ops-${PV}" inherit autotools pkgconfig |