Index: xserver-xorg-video-vesa-2.0.0/src/vesa.c =================================================================== --- xserver-xorg-video-vesa-2.0.0.orig/src/vesa.c 2008-07-24 20:32:27.000000000 +0200 +++ xserver-xorg-video-vesa-2.0.0/src/vesa.c 2008-07-24 20:50:18.000000000 +0200 @@ -342,7 +342,12 @@ * then, by this point, you're well into despair territory. */ for (v = mon->vrefresh[0].lo; v <= mon->vrefresh[0].hi; v++) { +#if XORG_VERSION_CURRENT > XORG_VERSION_NUMERIC(1,4,2,0,0) + /* xf86GTFMode is only avalaible in newer versions of Xorg */ mode = xf86GTFMode(p->HDisplay, p->VDisplay, v, 0, 0); +#else + mode = xf86CVTMode(p->HDisplay, p->VDisplay, v, FALSE, FALSE); +#endif ret = xf86CheckModeForMonitor(mode, mon); xfree(mode); if (ret == MODE_OK)