[oe-commits] Phil Blundell : gst-plugins-bad: disable inline asm during thumb builds

GIT User account git at amethyst.openembedded.net
Mon Oct 27 20:44:33 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b8fd11a4bf335be15e056e2fa91e8022457696e3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b8fd11a4bf335be15e056e2fa91e8022457696e3

Author: Phil Blundell <philb at gnu.org>
Date:   Mon Oct 27 20:37:48 2008 +0000

gst-plugins-bad: disable inline asm during thumb builds

---

 .../gstreamer/gst-plugins-bad/ivorbis-thumb.patch  |   11 +++++++++++
 packages/gstreamer/gst-plugins-bad_0.10.6.bb       |    3 ++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/packages/gstreamer/gst-plugins-bad/ivorbis-thumb.patch b/packages/gstreamer/gst-plugins-bad/ivorbis-thumb.patch
new file mode 100644
index 0000000..c94a788
--- /dev/null
+++ b/packages/gstreamer/gst-plugins-bad/ivorbis-thumb.patch
@@ -0,0 +1,11 @@
+--- bad/ext/ivorbis/vorbisdec.c~	2008-01-22 09:55:22.000000000 +0000
++++ bad/ext/ivorbis/vorbisdec.c	2008-10-27 20:12:43.000000000 +0000
+@@ -792,7 +792,7 @@
+ }
+ 
+ /* Taken from Tremor, misc.h */
+-#ifdef _ARM_ASSEM_
++#if defined(_ARM_ASSEM_) && !defined(__thumb__)
+ static inline ogg_int32_t
+ CLIP_TO_15 (ogg_int32_t x)
+ {
diff --git a/packages/gstreamer/gst-plugins-bad_0.10.6.bb b/packages/gstreamer/gst-plugins-bad_0.10.6.bb
index 2a99858..5d06a3c 100644
--- a/packages/gstreamer/gst-plugins-bad_0.10.6.bb
+++ b/packages/gstreamer/gst-plugins-bad_0.10.6.bb
@@ -1,7 +1,8 @@
 require gst-plugins.inc
 
 SRC_URI += "file://vorbisenc.h file://vorbisdec.h \
-            file://gst-plugins-directfb-fix.patch;patch=1;pnum=2"
+            file://gst-plugins-directfb-fix.patch;patch=1;pnum=2 \
+            file://ivorbis-thumb.patch;patch=1"
 DEPENDS += "gst-plugins-base directfb"
 
 do_compile_prepend() {





More information about the Openembedded-commits mailing list