Bug#488932: Patch to fix it in Lenny
tags 488932 +patch
Hello,
please find below the patch to fix this bug. Just add this as a patch
for your package and we will have one bug less for lenny.
--- src/vesa.c-orig 2008-12-27 15:06:07.214558080 -0200
+++ src/vesa.c 2008-12-27 15:08:25.789183080 -0200
@@ -36,6 +36,7 @@
#endif
#include <string.h>
+#include <unistd.h>
#include "vesa.h"
@@ -342,7 +343,7 @@
* then, by this point, you're well into despair territory.
*/
for (v = mon->vrefresh[0].lo; v <= mon->vrefresh[0].hi; v++) {
- mode = xf86GTFMode(p->HDisplay, p->VDisplay, v, 0, 0);
+ mode = xf86CVTMode(p->HDisplay, p->VDisplay, v, FALSE, FALSE);
ret = xf86CheckModeForMonitor(mode, mon);
xfree(mode);
if (ret == MODE_OK)
Kind regards,
Filipe
Reply to: