]> code.ossystems Code Review - meta-freescale.git/commitdiff
xf86-video-imxfb: Fix build using 1.14 Xorg server
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 20 Mar 2013 21:14:51 +0000 (18:14 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 20 Mar 2013 21:23:22 +0000 (18:23 -0300)
mibstore functions are no longer supported. This patch removes them
from this driver, following the pattern in
http://patches.openembedded.org/patch/46133/

This checkin shows when/where the changes to the X server were made
that deleted the header mibstore.h and mentions the reasons.
http://lists.x.org/archives/xorg-devel/2012-September/033575.html

Change-Id: I3957ada1f71bffa3f1e3b4533e0a0d25bf5838cc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch [new file with mode: 0644]
meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb

diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch
new file mode 100644 (file)
index 0000000..a1e05a2
--- /dev/null
@@ -0,0 +1,26 @@
+Fix building using new Xorg 1.14
+
+mibstore functions are no longer supported. This patch removes them
+from this driver, following the pattern in
+http://patches.openembedded.org/patch/46133/
+
+This checkin shows when/where the changes to the X server were made
+that deleted the header mibstore.h and mentions the reasons.
+http://lists.x.org/archives/xorg-devel/2012-September/033575.html
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+
+Index: xserver-xorg-video-imx-11.09.01/src/imx_driver.c
+===================================================================
+--- xserver-xorg-video-imx-11.09.01.orig/src/imx_driver.c
++++ xserver-xorg-video-imx-11.09.01/src/imx_driver.c
+@@ -37,7 +37,6 @@
+ #include "xf86_OSproc.h"
+ #include "mipointer.h"
+-#include "mibstore.h"
+ #include "micmap.h"
+ #include "colormapst.h"
+ #include "xf86cmap.h"
index f3273304f6c5eb061984feae6c518e83986947cb..274f890a35232815ff3a55d095e8c912ef81f094 100644 (file)
@@ -6,13 +6,14 @@ LICENSE = "MIT-X"
 DEPENDS = "virtual/xserver virtual/libx11 xproto randrproto util-macros amd-gpu-x11-bin-mx51 libz160"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f7bdc0c63080175d1667091b864cb12c"
 
-PR = "r10"
+PR = "r11"
 
 SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-${PV}.tar.gz \
            file://xf86-video-imxfb-fix-m4-hardcodded-paths.patch \
            file://Make-video-API-forward-and-backward-compatible.patch \
            file://ext-Update-to-newer-swap-macros.patch \
            file://Fix-error-unknown-type-name-uint.patch \
+           file://xserver-1.14-compat.patch \
 "
 SRC_URI[md5sum] = "d19148399b5d1c4dab90d0cc6f2c4789"
 SRC_URI[sha256sum] = "d7d85e9f13c6dd58addab89847f3a8a67f6382a54135c7978c9a95368af024d4"