summaryrefslogtreecommitdiff
path: root/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-23 08:36:38 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-23 13:42:17 +0200
commita3c46e4f17c4381ff526b00f805194fde72b8492 (patch)
treeea4763972ba6969d8657075ba8a3fcf80a4dc9a5 /package/libmpeg2/libmpeg2-0.5.1-armv4l.patch
parent4f0bc3b74faa6966e5014dc5950d85d0bd8369ec (diff)
libmpeg2: move ARM patch to the correct directory
The patch was added after the multimedia category reorganization so it became unreachable. Move it to the final libmpeg2 package directory. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libmpeg2/libmpeg2-0.5.1-armv4l.patch')
-rw-r--r--package/libmpeg2/libmpeg2-0.5.1-armv4l.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch b/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch
new file mode 100644
index 000000000..70d45ef91
--- /dev/null
+++ b/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch
@@ -0,0 +1,24 @@
+Patch taken from gentoo.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+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
+
+ @ ----------------------------------------------------------------