Return-Path: Received: from mail-gg0-f179.google.com (mail-gg0-f179.google.com [209.85.161.179]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7B470E014C4 for ; Sat, 23 Mar 2013 06:34:22 -0700 (PDT) Received: by mail-gg0-f179.google.com with SMTP id i2so177187ggm.24 for ; Sat, 23 Mar 2013 06:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=oMB+1s/EBD6p/uRjMRDxFC2rHpoJDBEmncioFBhI8tU=; b=Kcbr2colOyBOwP22k27BePM8otjvtNVsSkJR4jAQRog1A2CYc5xEjMr11aEr104ybm nczknkiXckzzH3PxYMGloHrQJblg61fixe/5ztGrpA78jh/ibXLChv1/gcjN9eaTX0sd Al8ppMra5Zh07sJjtNoJbf8H/lxeTksyiJLDd0T/ZKnZG0GFSqh43hMNbZCHBOyapU0Q Mj7M46mM8yJCRnchOK1qv0l1NLzIx/enpgM9LL2ed0o2i26npddzmXi1UMlL7cbWCwqc I62/ZHHyOXjQxECsbAdk5/WmSE8iPf+E4DefjcbAvqXm4rDgMHU+pxgDQXtjtFz/GyhN qjEw== X-Received: by 10.236.130.194 with SMTP id k42mr3267531yhi.40.1364045661895; Sat, 23 Mar 2013 06:34:21 -0700 (PDT) Received: from nano.lab.ossystems.com.br ([187.23.144.59]) by mx.google.com with ESMTPS id q28sm8345105yhm.24.2013.03.23.06.34.19 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Mar 2013 06:34:21 -0700 (PDT) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale Mailing List Date: Sat, 23 Mar 2013 10:39:48 -0300 Message-Id: <1364045994-19617-3-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1364045994-19617-1-git-send-email-otavio@ossystems.com.br> References: <1364045994-19617-1-git-send-email-otavio@ossystems.com.br> Subject: [meta-fsl-arm][PATCH 2/8] gpu-viv-bin-mx6q: remove xlib undef macros X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2013 13:34:22 -0000 From: Adrian Alonso * Remove xlib udef macros * Distrubuted header files rename some badly named X defines but this breaks compilation on programs that expect this macros. * Bump PR Change-Id: Iaedbb4506be5f4a641411d9888aa5338b574b7a4 Signed-off-by: Adrian Alonso --- .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 3 +- .../gc_hal_eglplatform-remove-xlib-undefs.patch | 34 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index 8239697..3105a60 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc @@ -7,12 +7,13 @@ LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=c831981a5cbb2673318b77fb2f07014c" PROVIDES += "virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 libvivante-dri-mx6" -INC_PR = "r2" +INC_PR = "r3" inherit fsl-eula-unpack SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ file://0001-change-header-path-to-HAL.patch \ + file://gc_hal_eglplatform-remove-xlib-undefs.patch \ " PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch new file mode 100644 index 0000000..732a073 --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch @@ -0,0 +1,34 @@ +From c59f9640d185759208f9d55a93b6602936dcb5e8 Mon Sep 17 00:00:00 2001 +From: Adrian Alonso +Date: Sat, 26 Jan 2013 17:52:04 -0600 +Subject: [PATCH 2/2] gc_hal_eglplatform: remove xlib undefs + +* Remove header undefs for Always and Status definitions + +Signed-off-by: Adrian Alonso +--- + usr/include/HAL/gc_hal_eglplatform.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/usr/include/HAL/gc_hal_eglplatform.h b/usr/include/HAL/gc_hal_eglplatform.h +index a968fe7..e80c65a 100644 +--- a/usr/include/HAL/gc_hal_eglplatform.h ++++ b/usr/include/HAL/gc_hal_eglplatform.h +@@ -341,14 +341,11 @@ typedef Pixmap HALNativePixmapType; + /* Rename some badly named X defines. */ + #ifdef Status + # define XStatus int +-# undef Status + #endif + #ifdef Always + # define XAlways 2 +-# undef Always + #endif + #ifdef CurrentTime +-# undef CurrentTime + # define XCurrentTime 0 + #endif + +-- +1.8.1 + -- 1.8.1