VNC patch for Xserver 1.3

Stefan Dirsch sndirsch at suse.de
Tue Oct 23 07:27:21 PDT 2007


On Tue, Oct 23, 2007 at 01:42:08PM +0300, Daniel Stone wrote:
> On Tue, Oct 23, 2007 at 12:34:34PM +0200, Stefan Dirsch wrote:
> > On Mon, Oct 22, 2007 at 10:12:27PM +0200, Stefan Dirsch wrote:
> > > AFAICS the pInfo structure is filled correctly in xf86rfbMouseInit(),
> > > but the content gets lost again in InitInput() before calling
> > > xf86ActivateDevice(). :-(
> > 
> > Obviously type_name/always_core_feedback, conf_idev/drv, and
> > options/history_size are swapped on x86_64.
> 
> Sure it's being built with _XSERVER64?  All external modules require
> xorg-server.h.

Meanwhile I figured out that it is *not* set. A patch, which fixes
this issue for me, is attached. Some background:

* fixes segfault on 64bit during Xserver start; make sure to define
  _XSERVER64 by having HAVE_DIX_CONFIG_H defined and therefore
  including dix-config.h, so Atom is CARD32 instead of unsigned long
  before and no longer messes up the pInfo structure in
  xf86rfbMouseInit/xf86rfbKeybInit

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
-----------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg-server-1.4-vnc-64bit.diff
Type: text/x-patch
Size: 417 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071023/9da7dc21/attachment.bin>


More information about the xorg mailing list