]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/libmpeg2-arm-pld.patch
Use var_Inherit* instead of var_CreateGet*.
[vlc] / extras / contrib / src / Patches / libmpeg2-arm-pld.patch
1 diff -urNp libmpeg2.orig/libmpeg2/motion_comp_arm_s.S libmpeg2/libmpeg2/motion_comp_arm_s.S
2 --- libmpeg2.orig/libmpeg2/motion_comp_arm_s.S  2008-07-09 21:16:05.000000000 +0200
3 +++ libmpeg2/libmpeg2/motion_comp_arm_s.S       2009-11-20 19:55:22.000000000 +0100
4 @@ -19,6 +19,16 @@
5  @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6  
7  
8 +@ Data preload is supported only by ARM V5TE and above
9 +
10 +#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
11 +     || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
12 +     || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \
13 +     || defined (__ARM_ARCH_5T__))
14 +.macro pld reg
15 +.endm
16 +#endif
17 +
18         .text
19  
20  @ ----------------------------------------------------------------