aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-fbdev/fix-build.patch
blob: f1ca16539efd6813d2a38e2baba9e6e1bf56f2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Upstream: no (too lazy)
Reason: fixes build by getting rid of old cpp macro

diff --git a/src/fbdev.c b/src/fbdev.c
index f25ef72..02a2b7a 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -1010,7 +1010,7 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
 	fPtr->CloseScreen = pScreen->CloseScreen;
 	pScreen->CloseScreen = FBDevCloseScreen;
 
-#if XV
+#if defined(XV)
 	{
 	    XF86VideoAdaptorPtr *ptr;