diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-12 12:01:59 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-17 12:59:52 +0100 |
| commit | 19153a5797c8c484bccc773505cbceff15b14cc6 (patch) | |
| tree | d17bc0c6c3df544589bc6c3b84233dfe2039fc07 | |
| parent | 2401f0367de108c311450847b62f98154c349fde (diff) | |
| download | meta-openembedded-19153a5797c8c484bccc773505cbceff15b14cc6.tar.gz | |
xf86-video-glamo: fix build with xserver 1.16
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0004-glamo.h-use-const-for-jbt6k74_state_path.patch | 29 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0004-glamo.h-use-const-for-jbt6k74_state_path.patch b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0004-glamo.h-use-const-for-jbt6k74_state_path.patch new file mode 100644 index 0000000000..a82037109e --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0004-glamo.h-use-const-for-jbt6k74_state_path.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 180a00634f351a09ceabc5695d8e1acc3e585501 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Fri, 12 Dec 2014 12:00:10 +0100 | ||
| 4 | Subject: [PATCH] glamo.h: use const for jbt6k74_state_path | ||
| 5 | |||
| 6 | * fix build issue with xserver 1.16: | ||
| 7 | glamo-driver.c:501:32: error: assignment discards 'const' qualifier from pointer target type [-Werror] | ||
| 8 | |||
| 9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 10 | --- | ||
| 11 | src/glamo.h | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/src/glamo.h b/src/glamo.h | ||
| 15 | index 5fd5c04..5e072be 100644 | ||
| 16 | --- a/src/glamo.h | ||
| 17 | +++ b/src/glamo.h | ||
| 18 | @@ -148,7 +148,7 @@ typedef struct { | ||
| 19 | #endif | ||
| 20 | |||
| 21 | #ifdef JBT6K74_SET_STATE | ||
| 22 | - char *jbt6k74_state_path; | ||
| 23 | + const char *jbt6k74_state_path; | ||
| 24 | char saved_jbt6k74_state[14]; | ||
| 25 | #endif | ||
| 26 | |||
| 27 | -- | ||
| 28 | 2.1.3 | ||
| 29 | |||
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb index 38c12f3217..78c65648f9 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb | |||
| @@ -14,6 +14,7 @@ SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;branch=master \ | |||
| 14 | file://0001-fix-build-with-KMS-disabled.patch \ | 14 | file://0001-fix-build-with-KMS-disabled.patch \ |
| 15 | file://0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch \ | 15 | file://0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch \ |
| 16 | file://0001-glamo-driver-remove-references-to-mibstore.patch \ | 16 | file://0001-glamo-driver-remove-references-to-mibstore.patch \ |
| 17 | file://0004-glamo.h-use-const-for-jbt6k74_state_path.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
