[PATCH xf86-video-ati] Fix build for XServer 1.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Latest git build stops with the error message

radeon_kms.c: In function 'RADEONWindowExposures_oneshot':
radeon_kms.c:1644:45: error: expected expression before 'RegionPtr'
      pScreen->WindowExposures(pWin, pRegion, RegionPtr pBSRegion);

This patch fixes the build.
---
  src/radeon_kms.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 572dfcc..7a561fa 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1641,7 +1641,7 @@ static void 
RADEONWindowExposures_oneshot(WindowPtr pWin, RegionPtr pRegion

      pScreen->WindowExposures = info->WindowExposures;
  #if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,16,99,901,0)
-    pScreen->WindowExposures(pWin, pRegion, RegionPtr pBSRegion);
+    pScreen->WindowExposures(pWin, pRegion, pBSRegion);
  #else
      pScreen->WindowExposures(pWin, pRegion);
  #endif
-- 
1.7.9.5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-for-XServer-1.13.patch
Type: text/x-patch
Size: 1108 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170305/455d68de/attachment.bin>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux