All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: otavio@ossystems.com.br
Subject: Re: [PATCH 27/27] xf86-video-glamo: fix build with xserver 1.16
Date: Sat, 27 Dec 2014 18:45:13 +0100	[thread overview]
Message-ID: <20141227174513.GH2465@jama> (raw)
In-Reply-To: <8769665d9efb22405435d730c01c1a41d7251b29.1419700394.git.akuster808@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2977 bytes --]

On Sat, Dec 27, 2014 at 09:22:14AM -0800, Armin Kuster wrote:
> From: Martin Jansa <Martin.Jansa@gmail.com>

This shoudn't be needed in dizzy which has old enough xserver.

> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>  ...-glamo.h-use-const-for-jbt6k74_state_path.patch | 29 ++++++++++++++++++++++
>  .../xorg-driver/xf86-video-glamo_git.bb            |  1 +
>  2 files changed, 30 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0004-glamo.h-use-const-for-jbt6k74_state_path.patch
> 
> 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 0000000..a820371
> --- /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 @@
> +From 180a00634f351a09ceabc5695d8e1acc3e585501 Mon Sep 17 00:00:00 2001
> +From: Martin Jansa <Martin.Jansa@gmail.com>
> +Date: Fri, 12 Dec 2014 12:00:10 +0100
> +Subject: [PATCH] glamo.h: use const for jbt6k74_state_path
> +
> +* fix build issue with xserver 1.16:
> +  glamo-driver.c:501:32: error: assignment discards 'const' qualifier from pointer target type [-Werror]
> +
> +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> +---
> + src/glamo.h | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/src/glamo.h b/src/glamo.h
> +index 5fd5c04..5e072be 100644
> +--- a/src/glamo.h
> ++++ b/src/glamo.h
> +@@ -148,7 +148,7 @@ typedef struct {
> + #endif
> + 
> + #ifdef JBT6K74_SET_STATE
> +-    char *jbt6k74_state_path;
> ++    const char *jbt6k74_state_path;
> +     char saved_jbt6k74_state[14];
> + #endif
> + 
> +-- 
> +2.1.3
> +
> 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 38c12f3..78c6564 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 \
>             file://0001-fix-build-with-KMS-disabled.patch \
>             file://0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch \
>             file://0001-glamo-driver-remove-references-to-mibstore.patch \   
> +           file://0004-glamo.h-use-const-for-jbt6k74_state_path.patch \
>  "
>  
>  S = "${WORKDIR}/git"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-12-27 17:45 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-27 17:21 [PATCH 00/27] [Dizzy-next] pull request Armin Kuster
2014-12-27 17:21 ` [PATCH 01/27] imagemagick: update URI to allow fetching current and previous releases Armin Kuster
2014-12-27 17:21 ` [PATCH 02/27] polarssl: add dependency openssl Armin Kuster
2014-12-27 17:21 ` [PATCH 03/27] postfix.inc: Remove references to buildmachine paths in target makedefs.out Armin Kuster
2014-12-27 17:21 ` [PATCH 04/27] samba: add winbind.service to winbind package Armin Kuster
2014-12-27 17:21 ` [PATCH 05/27] samba: fix error messages when startup samba service Armin Kuster
2014-12-27 17:21 ` [PATCH 06/27] dfu-util: Point to gitorious.org repository as gnumonks.org is down Armin Kuster
2014-12-27 17:21 ` [PATCH 07/27] rrdtool: inherit cpan-base to help build perl modules Armin Kuster
2014-12-27 17:21 ` [PATCH 08/27] rrdtool: add missing dependency on groff-native Armin Kuster
2014-12-27 17:21 ` [PATCH 09/27] glibmm: add perl to RDEPENDS_{PN}-dev Armin Kuster
2014-12-27 17:21 ` [PATCH 10/27] hostapd: several fixes for init script Armin Kuster
2014-12-27 17:21 ` [PATCH 11/27] lvm2: add lvm.con to CONFFILES Armin Kuster
2014-12-27 19:27   ` Otavio Salvador
2014-12-27 19:57     ` akuster808
2014-12-27 19:59       ` Otavio Salvador
2014-12-27 17:21 ` [PATCH 12/27] iotop: Drop python-distutils from RDEPENDS Armin Kuster
2014-12-27 17:22 ` [PATCH 13/27] sethdlc: fix host contamination Armin Kuster
2014-12-27 17:22 ` [PATCH 14/27] xserver-common: disable TCP connections Armin Kuster
2014-12-27 17:22 ` [PATCH 15/27] libcanberra: fix installed-vs-shipped warning Armin Kuster
2014-12-27 17:22 ` [PATCH 16/27] libnet-ssleay-perl: avoid host contamination Armin Kuster
2014-12-27 17:22 ` [PATCH 17/27] meta-gnome: fix typo of directory name Armin Kuster
2014-12-27 17:22 ` [PATCH 18/27] libhugetlbfs: Make cross-devel recognize all ix86 arches Armin Kuster
2014-12-27 17:22 ` [PATCH 19/27] libhugetlbfs: Fix page size & text offset for arm arches Armin Kuster
2014-12-27 17:22 ` [PATCH 20/27] obexd: conflict with bluez5 Armin Kuster
2014-12-27 17:22 ` [PATCH 21/27] obex-data-server: " Armin Kuster
2014-12-27 17:22 ` [PATCH 22/27] enca: fix broken automake Armin Kuster
2014-12-27 17:22 ` [PATCH 23/27] rfkill: fix the SRC_URI Armin Kuster
2014-12-27 17:22 ` [PATCH 24/27] PNBLACKLIST: use weak assignments Armin Kuster
2014-12-27 17:22 ` [PATCH 25/27] mplayer2: use autotools-brokensep (B = S) Armin Kuster
2014-12-27 17:22 ` [PATCH 26/27] mplayer2: cleanup empty directories Armin Kuster
2014-12-27 17:22 ` [PATCH 27/27] xf86-video-glamo: fix build with xserver 1.16 Armin Kuster
2014-12-27 17:45   ` Martin Jansa [this message]
2014-12-27 19:53     ` akuster808
2014-12-27 19:30 ` [PATCH 00/27] [Dizzy-next] pull request Otavio Salvador
2014-12-27 19:33 ` Philip Balister
2014-12-27 19:48   ` akuster808
2014-12-27 21:46     ` Philip Balister

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141227174513.GH2465@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.