xf86-video-imxfb: fix build error due to missing uint declaration
PATCH 1/1 xf86-video-imxfb: fix build error due to missing uint declaration
Signed-off-by Eric Bénard <[email protected]>
--- .../Fix-error-unknown-type-name-uint.patch | 33 ++++++++++++++++++++ .../xorg-driver/xf86-video-imxfb_11.09.01.bb | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb/Fix-error-unknown-type-name-uint.patch
recipes-graphics/xorg-driver/xf86-video-imxfb/Fix-error-unknown-type-name-uint.patch new file +33 -0
@@ -0,0 +1,33 @@ +From ccdfce5e75ba707deacdd5808a8f3de8744848d0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Eric=20B=C3=A9nard?= <[email protected]> +Date: Tue, 5 Feb 2013 10:57:47 +0100 +Subject: [PATCH] Fix "error: unknown type name 'uint'" +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In file included from imx_driver.c:33:0: +.../sysroots/imx53qsb/usr/src/kernel/include/linux/mxcfb.h:107:2: error: unknown type name 'uint' + +Upstream-Status: Pending + +Signed-off-by: Eric Bénard <[email protected]> +--- + src/imx_driver.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/imx_driver.c b/src/imx_driver.c +index f4b3e38..4cf662d 100644 +--- a/src/imx_driver.c ++++ b/src/imx_driver.c +@@ -29,6 +29,7 @@ + #include <errno.h> + #include <fcntl.h> + #include <string.h> ++#include <sys/types.h> + #include <linux/fb.h> + #include <linux/mxcfb.h> + +-- +1.7.10.4 +
recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb +2 -1
@@ -6,12 +6,13 @@ 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 = "r9" +PR = "r10" 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 \ " SRC_URI[md5sum] = "d19148399b5d1c4dab90d0cc6f2c4789" SRC_URI[sha256sum] = "d7d85e9f13c6dd58addab89847f3a8a67f6382a54135c7978c9a95368af024d4"
Signature · 1 line
1.7.10.4
Otavio Salvador
AppliedQuoted 1 line · Eric Bénard
Signed-off-by Eric Bénard <[email protected]>
Applied to master.
--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br