diff -urN /var/abs/extra/xf86-input-vmmouse/PKGBUILD xf86-input-vmmouse/PKGBUILD --- /var/abs/extra/xf86-input-vmmouse/PKGBUILD 2009-11-02 21:17:01.000000000 -0800 +++ xf86-input-vmmouse/PKGBUILD 2009-11-04 04:20:47.923064579 -0800 @@ -13,11 +13,14 @@ conflicts=('xorg-server<1.7.0') groups=('xorg-input-drivers') options=('!libtool') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('bf2f1031ccc0096f388272ce93b75572d24548be') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 + abi2.patch) +sha1sums=('bf2f1031ccc0096f388272ce93b75572d24548be' + 'c5acc649ff69c4dd1e6d3288fcc83d23c7607358') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/abi2.patch" || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 diff -urN /var/abs/extra/xf86-input-vmmouse/abi2.patch xf86-input-vmmouse/abi2.patch --- /var/abs/extra/xf86-input-vmmouse/abi2.patch 1969-12-31 16:00:00.000000000 -0800 +++ xf86-input-vmmouse/abi2.patch 2009-11-04 04:16:52.567178514 -0800 @@ -0,0 +1,65 @@ +--- xf86-input-vmmouse-12.6.5/src/vmmouse.c.jx 2009-11-04 04:13:16.693085385 -0800 ++++ xf86-input-vmmouse-12.6.5/src/vmmouse.c 2009-11-04 04:14:37.339724589 -0800 +@@ -146,53 +146,6 @@ typedef struct { + Bool absoluteRequested; + } VMMousePrivRec, *VMMousePrivPtr; + +-static const char *reqSymbols[] = { +- "InitPointerDeviceStruct", +- "LoaderSymbol", +- "LoadSubModule", +- "miPointerGetMotionBufferSize", +- "miPointerGetMotionEvents", +- "screenInfo", +- "Xcalloc", +- "xf86AddEnabledDevice", +- "xf86AddInputDriver", +- "xf86AddModuleInfo", +- "xf86AllocateInput", +- "xf86BlockSIGIO", +- "xf86CloseSerial", +- "xf86CollectInputOptions", +- "xf86ffs", +- "xf86FlushInput", +- "xf86GetAllowMouseOpenFail", +- "xf86GetMotionEvents", +- "xf86InitValuatorAxisStruct", +- "xf86InitValuatorDefaults", +- "xf86LoaderCheckSymbol", +- "xf86MotionHistoryAllocate", +- "xf86Msg", +- "xf86NameCmp", +- "xf86OpenSerial", +- "xf86OSMouseInit", +- "xf86PostButtonEvent", +- "xf86PostMotionEvent", +- "xf86ProcessCommonOptions", +- "xf86RemoveEnabledDevice", +- "xf86SetIntOption", +- "xf86SetStrOption", +- "xf86sprintf", +- "xf86sscanf", +- "xf86UnblockSIGIO", +- "xf86usleep", +- "xf86XInputSetScreen", +- "Xfree", +- "XisbBlockDuration", +- "XisbFree", +- "XisbNew", +- "XisbRead", +- "Xstrdup", +- NULL +-}; +- + InputDriverRec VMMOUSE = { + 1, + "vmmouse", +@@ -1175,8 +1128,6 @@ VMMousePlug(pointer module, + { + static Bool Initialised = FALSE; + +- xf86LoaderReqSymLists(reqSymbols, NULL); +- + if (!Initialised) + Initialised = TRUE; +