On 03/19/2012 05:41 AM, Daniel F. Savarese wrote: > > Anyone using the xf86-video-mach64 package who has had their X server > fail after updating to xorg-server 1.12, reporting > "undefined symbol: xf86MapDomainMemory", you can get it working again > by applying the following patch (I've inlined it because I don't know > if the mailing list accepts attachments). This is an upstream issue > fixed in revision control, so there's no point opening a bug report. > It will be resolved when a new release of xf86-video-mach64 becomes available. > report a bug report. > --- src/atividmem.c.orig 2012-03-18 23:01:56.666029002 -0400 > +++ src/atividmem.c 2012-03-18 23:03:28.809154407 -0400 > @@ -84,7 +84,11 @@ > if (!pATI->pBank) > return; > > +#ifndef XSERVER_LIBPCIACCESS > xf86UnMapVidMem(iScreen, pATI->pBank, 0x00010000U); > +#else > + (void) pci_device_unmap_legacy(pATI->PCIInfo, pATI->pBank, 0x00010000U); > +#endif > > pATI->pBank = NULL; > } > @@ -219,9 +223,14 @@ > * No relocation, resizing, caching or write-combining of this > * aperture is supported. Hence, the hard-coded values here... > */ > - pATI->pBank = xf86MapDomainMemory(iScreen, VIDMEM_MMIO_32BIT, > - Tag, 0x000A0000U, 0x00010000U); > - > +#ifndef XSERVER_LIBPCIACCESS > + pATI->pBank = xf86MapDomainMemory(iScreen, VIDMEM_MMIO_32BIT, > + Tag, 0x000A0000U, 0x00010000U); > +#else > + (void) pci_device_map_legacy(Tag, 0x000A0000U, 0x00010000U, > + PCI_DEV_MAP_FLAG_WRITABLE, > + &pATI->pBank); > +#endif > if (!pATI->pBank) > return FALSE; > > > -- Ionuț
Attachment:
signature.asc
Description: OpenPGP digital signature