ayaports/user/xf86-video-fbdev-rm/fix-build.patch

18 lines
396 B
Diff
Raw Normal View History

2023-05-17 06:47:03 +00:00
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;