recipes: tools/e2fsprogs: apply patch for a correct build
[dragora.git] / patches / xf86-video-s3virge / patch-src_s3v__driver.c
blob9d8d040424ba41c17315b23f4e133b756bbe49c4
1 $NetBSD: patch-src_s3v__driver.c,v 1.3 2018/05/20 07:32:50 wiz Exp $
3 Fix build with modular-xorg-server-1.20.
5 --- src/s3v_driver.c.orig 2015-09-26 16:28:11.000000000 +0000
6 +++ src/s3v_driver.c
7 @@ -1203,6 +1203,7 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
8 vga256InfoRec.directMode = XF86DGADirectPresent;
9 #endif
11 +#if 0
13 * xf86ValidateModes will check that the mode HTotal and VTotal values
14 * don't exceed the chipset's limit if pScrn->maxHValue and
15 @@ -1214,6 +1215,7 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
16 /* true for all ViRGE? */
17 pScrn->maxHValue = 2048;
18 pScrn->maxVValue = 2048;
19 +#endif
21 /* Lower depths default to config file */
22 pScrn->virtualX = pScrn->display->virtualX;