[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489051: Repatch



Sorry Neil, I'm not subscribed at this bug and don't read your response.


I have repatched this bug with Julien Cristau suggestion:



+#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



The other patch is in debdiff format (apply to sources parent dir), this
is in plain

Actually in Debian SID, Xorg is at 1.4.2 version, with this patch use
old code xf86CVTMode and in newer versions use new code xf86GTFMode.


Greetings

-- 
http://soleup.eup.uva.es/mariodebian
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)

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente


Reply to: