[PATCH] 64-bit fixes

Jürg Billeter j at bitron.ch
Sun Aug 21 09:50:29 PDT 2005


(Sorry if this mail arrives twice, my first mail seemed to be lost)

The attached two patches enable modular xorg server to build and run
without obvious issues on x86_64

xorg-64-bit-1.diff:
- Define _XSERVER64 if appropriate in dix-config.h, xorg-config.h, and
xorg-server.h as all parts of the server needs that define and at least
the input drivers need it, too
- Fix architecture check to use x86_64 instead of amd64

xc-64-bit-1.diff:
- Applying the xorg-64-bit-1 patch crashes the xserver on startup, I've
tracked the problem down to the fact that dix-config.h gets included too
late (i.e. after X11/X.h) in midispcur.c, mipointer.c, and misprite.c.
Fixed this by moving the include to the top

Regards,

Jürg

-- 
Jürg Billeter <j at bitron.ch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg-64-bit-1.diff
Type: text/x-patch
Size: 2247 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-modular/attachments/20050821/98d7bec8/xorg-64-bit-1-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xc-64-bit-1.diff
Type: text/x-patch
Size: 2337 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-modular/attachments/20050821/98d7bec8/xc-64-bit-1-0001.bin


More information about the xorg-modular mailing list