[packages] xorg-kdrive: Add missing dependencies and 600x800 mode
[openwrt/svn-archive/archive.git] / Xorg / xorg / xserver / xorg-kdrive / patches / 002-add-portrait-modes.patch
1 --- xorg-server-1.5.1/hw/kdrive/src/kmode.c.orig 2007-10-23 23:26:50.000000000 +0200
2 +++ xorg-server-1.5.1/hw/kdrive/src/kmode.c 2008-10-05 14:55:24.000000000 +0200
3 @@ -78,6 +78,12 @@
4 16, 48, 160, KdSyncNegative, /* 31.469 */
5 10, 33, 45, KdSyncNegative, /* 59.940 */
6 },
7 +
8 + /* 480x640 modes */
9 + { 480, 640, 60, 0, /* VESA */
10 + 0, 0, 0, KdSyncNegative, /* 31.469 */
11 + 0, 0, 0, KdSyncNegative, /* 59.940 */
12 + },
13
14 /* 800x600 modes */
15 { 800, 600, 85, 56250, /* VESA */
16 @@ -102,6 +108,10 @@ const KdMonitorTiming kdMonitorTimings[] = {
17 24, 128, 224, KdSyncPositive, /* 35.156 */
18 1, 22, 25, KdSyncPositive, /* 56.250 */
19 },
20 + { 600, 800, 56, 36000, /* VESA */
21 + 24, 128, 224, KdSyncPositive, /* 35.156 */
22 + 1, 22, 25, KdSyncPositive, /* 56.250 */
23 + },
24
25 /* 1024x768 modes */
26 { 1024, 768, 85, 94500, /* VESA */