]> code.ossystems Code Review - meta-freescale.git/commitdiff
xf86-video-imxfb-vivante: Stop using swaprep.h header
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 2 Dec 2015 13:54:16 +0000 (11:54 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:22 +0000 (15:03 -0300)
The 'swaprep.h' is an internal Xorg header and is not being installed
anymore. The swap features are provided by the 'misc.h' header now.

Fixes [YOCTO: #8737]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Remove-dix-internal-header-usage.patch [new file with mode: 0644]
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p7.1.bb

diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Remove-dix-internal-header-usage.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Remove-dix-internal-header-usage.patch
new file mode 100644 (file)
index 0000000..f146ba3
--- /dev/null
@@ -0,0 +1,31 @@
+From 80c419dddf6483873503d90694c4b4ae34ffa5e4 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Wed, 2 Dec 2015 13:50:57 +0000
+Subject: [PATCH] Remove 'dix' internal header usage
+Organization: O.S. Systems Software LTDA.
+
+The 'swaprep.h' is an internal Xorg header and is not being installed
+anymore. The swap features are provided by the 'misc.h' header now.
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ EXA/src/vivante_extension/vivante_ext.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/EXA/src/vivante_extension/vivante_ext.c b/EXA/src/vivante_extension/vivante_ext.c
+index 0d1085b..1ffbb1b 100644
+--- a/EXA/src/vivante_extension/vivante_ext.c
++++ b/EXA/src/vivante_extension/vivante_ext.c
+@@ -40,7 +40,6 @@
+ #include "cursorstr.h"
+ #include "scrnintstr.h"
+ #include "servermd.h"
+-#include "swaprep.h"
+ #include "drm.h"
+ #include "xf86Module.h"
+ #include "globals.h"
+-- 
+2.1.4
+
index d72e246f1fba05ae9fc905731dc5d4f7906b9570..9fdd73afecb19ac1367b5b6a34938caaa8cba01b 100644 (file)
@@ -5,7 +5,8 @@
 require xf86-video-imxfb-vivante.inc
 
 SRC_URI += "file://0001-MGS-907-X11-EXA-Warnings-causes-GCC5.2-build-to-fail.patch \
-            file://Stop-using-Git-to-write-local-version.patch"
+            file://Stop-using-Git-to-write-local-version.patch \
+            file://Remove-dix-internal-header-usage.patch"
 
 SRC_URI[md5sum] = "05c54ed6d63e2a21dc18219e70869c29"
 SRC_URI[sha256sum] = "ab6a896cafba324105d26f52b7dad2c41d04d75cc9e48b66e8041a95660a04ee"