[PATCH] Fix build breakage with --disable-glamor

Jean Delvare jdelvare at suse.de
Tue Oct 1 07:03:10 PDT 2013


The radeon_glamor_xv_init stub had the wrong prototype and missed a
trailing semicolon, causing a build breakage when configuring the driver
with --disable-glamor.

Reported by udovdh.

Signed-off-by: Jean Delvare <jdelvare at suse.de>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Alex Deucher <alexander.deucher at amd.com>
---
 src/radeon_glamor.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- xf86-video-ati.orig/src/radeon_glamor.h	2013-09-30 20:17:47.102280522 +0200
+++ xf86-video-ati/src/radeon_glamor.h	2013-10-01 15:27:58.129587616 +0200
@@ -91,7 +91,7 @@ static inline Bool radeon_glamor_pixmap_
 
 static inline struct radeon_pixmap *radeon_get_pixmap_private(PixmapPtr pixmap) { return NULL; }
 
-static inline XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen) { return NULL }
+static inline XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt) { return NULL; }
 #endif
 
 #endif /* RADEON_GLAMOR_H */


-- 
Jean Delvare
Suse L3


More information about the xorg-driver-ati mailing list