python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / libmpeg2 / 0002-armv4l.patch
blob70d45ef916a8eabdd183caa6380915a1feab6025
1 Patch taken from gentoo.
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 diff -urNp libmpeg2.orig/libmpeg2/motion_comp_arm_s.S libmpeg2/libmpeg2/motion_comp_arm_s.S
6 --- libmpeg2.orig/libmpeg2/motion_comp_arm_s.S 2008-07-09 21:16:05.000000000 +0200
7 +++ libmpeg2/libmpeg2/motion_comp_arm_s.S 2009-11-20 19:55:22.000000000 +0100
8 @@ -19,6 +19,16 @@
9 @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
12 +@ Data preload is supported only by ARM V5TE and above
14 +#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
15 + || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
16 + || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \
17 + || defined (__ARM_ARCH_5T__))
18 +.macro pld reg
19 +.endm
20 +#endif
22 .text
24 @ ----------------------------------------------------------------