[MPlayer-dev-eng] [PATCH] Solaris/x86 sysi86() type conflict
Derek E. Lewis
dlewis at solnetworks.net
Sun Apr 30 09:44:00 CEST 2006
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.
Thanks,
--
Derek E. Lewis
http://riemann.solnetworks.net/~dlewis/weblog
dlewis at solnetworks.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.300406.patch
Type: text/x-patch
Size: 881 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060430/6b9f6ad9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loader_ldt_keeper.c.300406.patch
Type: text/x-patch
Size: 663 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060430/6b9f6ad9/attachment-0001.bin>
More information about the MPlayer-dev-eng
mailing list