Annotation of /trunk/xf86-video-mach64/patches/xf86-video-mach64-6.9.3-fix-build-on-32-bit.patch
Parent Directory | Revision Log
Revision 1969 -
(hide annotations)
(download)
Mon Nov 26 10:13:52 2012 UTC (11 years, 10 months ago) by niro
File size: 863 byte(s)
Mon Nov 26 10:13:52 2012 UTC (11 years, 10 months ago) by niro
File size: 863 byte(s)
-fix FTBFS
1 | niro | 1969 | From 5eb7fec958bc6ba8a1a2b0be4916cac818866e1c Mon Sep 17 00:00:00 2001 |
2 | From: Dave Airlie <airlied@gmail.com> | ||
3 | Date: Wed, 18 Jul 2012 18:46:49 +1000 | ||
4 | Subject: [PATCH] mach64: fix build on 32-bit. | ||
5 | |||
6 | tvout code only builds on 32-bit, fix build. | ||
7 | |||
8 | Signed-off-by: Dave Airlie <airlied@redhat.com> | ||
9 | --- | ||
10 | src/atiscreen.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/atiscreen.c b/src/atiscreen.c | ||
14 | index 2957877..b1fbd3c 100644 | ||
15 | --- a/src/atiscreen.c | ||
16 | +++ b/src/atiscreen.c | ||
17 | @@ -580,7 +580,7 @@ ATIScreenInit(SCREEN_INIT_ARGS_DECL) | ||
18 | #ifdef TV_OUT | ||
19 | /* Fix-up TV out after ImpacTV probe */ | ||
20 | if (pATI->OptionTvOut && pATI->Chip < ATI_CHIP_264GTPRO) | ||
21 | - ATISwitchMode(0, pScreenInfo->currentMode, 0); | ||
22 | + ATISwitchMode(SWITCH_MODE_ARGS(pScreenInfo, pScreenInfo->currentMode)); | ||
23 | #endif /* TV_OUT */ | ||
24 | |||
25 | #ifdef XF86DRI_DEVEL | ||
26 | -- | ||
27 | 1.7.10.4 | ||
28 |