Commit 1e756a83 authored by Pierre Ynard's avatar Pierre Ynard

contrib: crappy patch to build libmpeg2 on WinCE

Devices running WinCE don't necessarily support the pld ARM instruction,
which prevents libmpeg2 from building. This patch unconditionally
removes that instruction on WinCE.
parent 5a88cc85
......@@ -561,6 +561,9 @@ libmpeg2-$(LIBMPEG2_VERSION).tar.gz:
libmpeg2: libmpeg2-$(LIBMPEG2_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef HAVE_WINCE
patch -p0 < Patches/libmpeg2-arm-pld.patch
endif
cd libmpeg2 && patch -p0 < ../Patches/libmpeg2-mc-neon.patch
cd libmpeg2 && ./bootstrap
......
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-13 23:09:46.000000000 +0100
@@ -21,6 +21,9 @@
.text
+.macro pld reg
+.endm
+
@ ----------------------------------------------------------------
.align
.global MC_put_o_16_arm
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment