Skip to contentSkip to conversation

libmpeg2: fix build breakage on lower ARM cores

PATCH New Gustavo Zacarias 2 participants 2 messages May 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmpeg2: fix build breakage on lower ARM cores

---
 .../libmpeg2/libmpeg2-0.5.1-armv4l.patch           |   24 ++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/libmpeg2/libmpeg2-0.5.1-armv4l.patch
package/multimedia/libmpeg2/libmpeg2-0.5.1-armv4l.patch new file +24 -0
new file mode 100644
index 0000000..70d45ef
@@ -0,0 +1,24 @@
+Patch taken from gentoo.
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+
+diff -urNp libmpeg2.orig/libmpeg2/motion_comp_arm_s.S libmpeg2/libmpeg2/motion_comp_arm_s.S
+--- libmpeg2.orig/libmpeg2/motion_comp_arm_s.S	2008-07-09 21:16:05.000000000 +0200
++++ libmpeg2/libmpeg2/motion_comp_arm_s.S	2009-11-20 19:55:22.000000000 +0100
+@@ -19,6 +19,16 @@
+ @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 
+ 
++@ Data preload is supported only by ARM V5TE and above
++
++#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
++     || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
++     || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \
++     || defined (__ARM_ARCH_5T__))
++.macro pld reg
++.endm
++#endif
++
+ 	.text
+ 
+ @ ----------------------------------------------------------------
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 libmpeg2: fix build breakage on lower ARM cores

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard