Patch for compiling SiS statically

Thomas Winischhofer thomas at winischhofer.net
Fri Oct 28 10:25:11 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthias Hopf wrote:
> Hi,
> 
> the following patch is needed to compile the SiS driver (and anything
> potentially using setjmp/longjmp) statically.
> 
> If noone objects, I'll commit the code at the beginning of the next week.
> 
> Matthias

I basically don't object, but nevertheless am surprised that noone has
noticed this before. Is the SiS driver really the only one using
setjmp/longjmp?

I have not enough knowledge about the libc emulation in X. However, I
notice that the #else you add isn't just an extension to "#if
defined(XFree86Loader)" but that #if tests also for
!DONT_DEFINE_WRAPPERS and DEFINE_SETJMP_WRAPPERS. No idea on the impact
of your change on other C compilers, architectures, platforms, whatnot.

Thomas

- --
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net	       *** http://www.winischhofer.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDYl73zydIRAktyUcRAow3AJ4xU0Rcr77Fd2QQt9gU3T8Tc40QsQCgo7Tt
l+GlKnlvFcXvYvhdOaIKIXw=
=27Ts
-----END PGP SIGNATURE-----



More information about the xorg mailing list