mplayer_git: Add patch to fix linker error on x86 machines
mplayer_git: Add patch to fix linker error on x86 machines

For x86 machines the option `--enable-runtime-cpudetection` is passed to the configure script.

        EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '--enable-runtime-cpudetection', '',d)} "

This causes a linker error like

        fix undefined references  in loader/module.o:
        module.c:(.text+0xd60): undefined reference to `report_entry'
        module.c:(.text+0xd6a): undefined reference to `report_ret'
        module.c:(.text+0xd74): undefined reference to `wrapper_target'
        module.c:(.text+0xd7a): undefined reference to `wrapper'

as reported and fixed in the Gentoo’s Bugzilla Bug 213836 [1]. The patch was partly adopted and applied already to `mplayer_svn` in OpenEmbedded in commit »mplayer_svn : fix compilation problem« (ff57f14c) [2].

This patch is build tested for `DISTRO = "shr"` with a modified `conf/machine/ion.conf`.

[1] https://bugs.gentoo.org/213836?id=213836
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=ff57f14c99a6ff61ffb7f1c533523e3e934f96e5

Signed-off-by: Josua Mayer <f0791ebdc935f9d948e2b85fdabb1be508cb7d6c@googlemail.com>
Signed-off-by: Paul Menzel <acd6d3b156327487a919475da61b8867f1e8b249@users.sourceforge.net>

hulifox008/openembedded,JamesAng/goe,dellysunnymtech/sakoman-oe,openembedded/openembedded,JamesAng/oe,hulifox008/openembedded,hulifox008/openembedded,JamesAng/goe,JamesAng/oe,xifengchuo/openembedded,giobauermeister/openembedded,sentient-energy/emsw-oe-mirror,dellysunnymtech/sakoman-oe,sentient-energy/emsw-oe-mirror,JamesAng/goe,openembedded/openembedded,giobauermeister/openembedded,sentient-energy/emsw-oe-mirror,sentient-energy/emsw-oe-mirror,xifengchuo/openembedded,sentient-energy/emsw-oe-mirror,JamesAng/oe,dellysunnymtech/sakoman-oe,openembedded/openembedded,xifengchuo/openembedded,JamesAng/oe,xifengchuo/openembedded,sentient-energy/emsw-oe-mirror,openembedded/openembedded,xifengchuo/openembedded,giobauermeister/openembedded,giobauermeister/openembedded,giobauermeister/openembedded,hulifox008/openembedded,JamesAng/oe,xifengchuo/openembedded,dellysunnymtech/sakoman-oe,dellysunnymtech/sakoman-oe,JamesAng/goe,dellysunnymtech/sakoman-oe,dellysunnymtech/sakoman-oe,giobauermeister/openembedded,openembedded/openembedded,giobauermeister/openembedded,openembedded/openembedded,giobauermeister/openembedded,JamesAng/goe,giobauermeister/openembedded,openembedded/openembedded,xifengchuo/openembedded,openembedded/openembedded,hulifox008/openembedded,openembedded/openembedded,xifengchuo/openembedded,hulifox008/openembedded,xifengchuo/openembedded,JamesAng/goe,openembedded/openembedded,sentient-energy/emsw-oe-mirror,dellysunnymtech/sakoman-oe,openembedded/openembedded,dellysunnymtech/sakoman-oe,hulifox008/openembedded,JamesAng/goe,JamesAng/oe,JamesAng/oe