[MPlayer-dev-eng] [PATCH] Solaris/x86 sysi86() type conflict

Diego Biurrun diego at biurrun.de
Sun Apr 30 23:18:15 CEST 2006


On Sun, Apr 30, 2006 at 02:44:00AM -0500, Derek E. Lewis wrote:
> sysi86() is used in loader/ldt_keeper.c.  sysi86() was introduced in
> Solaris 2.0 and was compatible until Solaris 9.  There was a tweak in
> Solaris 10 with the args -- the function went from receiving them in a
> struct to them being unpacked.
> 
> The current ldt_keeper.c assumes that sysi86()'s args aren't unpacked,
> and thus provides a "correct" declaration.  I've added a new test to the
> 'configure' script to test for the existence of the new sysi86()
> declaration.
> 
> This patch avoids a build failure that would normally occur because of
> the type conflict in releases >= 10 of Solaris.  This bug should be
> addressed before pre8 is released, as it breaks all builds on Solaris 10
> or greater on x86.

Committed the fixed version with an extra 'if sunos' in front of the
check to skip it on systems that don't need it anyway.

Diego




More information about the MPlayer-dev-eng mailing list