pkgsrc/x11/xf86-video-ati6/patches/patch-src_radeon__video.h
tnn c708848e79 Make xf86-video-* drivers build against xorg-server-1.17 in addition to the
old 1.12 server. Mostly from FDO git. (xf86-video-ati6 was manually ported)
2015-04-02 22:16:45 +00:00

33 lines
784 B
C

$NetBSD: patch-src_radeon__video.h,v 1.1 2015/04/02 22:16:46 tnn Exp $
--- src/radeon_video.h.orig 2012-06-25 08:19:41.000000000 +0000
+++ src/radeon_video.h
@@ -2,10 +2,12 @@
#define __RADEON_VIDEO_H__
#include "xf86i2c.h"
+#ifdef PKGSRC_LEGACY_XORG_SERVER
#include "fi1236.h"
#include "msp3430.h"
#include "tda9885.h"
#include "uda1380.h"
+#endif
#include "i2c_def.h"
#include "generic_bus.h"
@@ -44,11 +46,15 @@ typedef struct {
uint32_t i2c_status;
uint32_t i2c_cntl;
+#ifdef PKGSRC_LEGACY_XORG_SERVER
FI1236Ptr fi1236;
+#endif
uint8_t tuner_type;
+#ifdef PKGSRC_LEGACY_XORG_SERVER
MSP3430Ptr msp3430;
TDA9885Ptr tda9885;
UDA1380Ptr uda1380;
+#endif
/* VIP bus and devices */
GENERIC_BUS_Ptr VIP;