1From 07a5c4732f1c28ffcb873ee04500e3cb813c50b4 Mon Sep 17 00:00:00 2001 2From: Fabrice Fontaine <fontaine.fabrice@gmail.com> 3Date: Tue, 7 Dec 2021 22:28:04 +0100 4Subject: [PATCH] Remove ramdac 5 6ramdac drivers have been removed from xserver since version 21.0.99.1 7and 8https://gitlab.freedesktop.org/xorg/xserver/-/commit/f0385fb420158ac3bc1c4c325431ffc5c62344bb 9resulting in the following build failure: 10 11In file included from trident_bank.c:37: 12trident.h:41:10: fatal error: xf86RamDac.h: No such file or directory 13 41 | #include "xf86RamDac.h" 14 | ^~~~~~~~~~~~~~ 15 16Fixes: 17 - http://autobuild.buildroot.org/results/c81ac8075af257e8626d9d097270be7a7b4a1496 18 19Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 20[Upstream status: 21https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/1] 22--- 23 src/trident.h | 3 --- 24 1 file changed, 3 deletions(-) 25 26diff --git a/src/trident.h b/src/trident.h 27index 5cadf52..c82de4c 100644 28--- a/src/trident.h 29+++ b/src/trident.h 30@@ -38,7 +38,6 @@ 31 #include "xaa.h" 32 #endif 33 #include "xf86fbman.h" 34-#include "xf86RamDac.h" 35 #include "compiler.h" 36 #include "vgaHW.h" 37 #include "xf86i2c.h" 38@@ -103,7 +102,6 @@ typedef struct { 39 int useEXA; 40 int Chipset; 41 int DACtype; 42- int RamDac; 43 int ChipRev; 44 int HwBpp; 45 int BppShift; 46@@ -169,7 +167,6 @@ typedef struct { 47 CARD32 BltScanDirection; 48 CARD32 DrawFlag; 49 CARD16 LinePattern; 50- RamDacRecPtr RamDacRec; 51 int CursorOffset; 52 xf86CursorInfoPtr CursorInfoRec; 53 xf86Int10InfoPtr Int10; 54-- 552.33.0 56 57