Return-Path: Received: from mail-ye0-f174.google.com (mail-ye0-f174.google.com [209.85.213.174]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4F9ACE014BC for ; Sat, 23 Mar 2013 06:34:30 -0700 (PDT) Received: by mail-ye0-f174.google.com with SMTP id r11so231353yen.33 for ; Sat, 23 Mar 2013 06:34:29 -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=6ok52RIU8y3QfYSWwD5wytkZ81spHs+LVZKKySEx9fE=; b=BFXhN7rEsZZc0eThKyI/UKpkhBmQMkmuBS6YQMpLjMawF2HPfYJCzAfYwR5VkbyRlH kSjeDDNSSgb5oFk0zqes1XyQYL9lTZW+zYlRbuu6DPc4X4NfpY/s40w5HGSdo08ff/f7 9rEBy8SrOCxkz4eath2Ome8t/CrJ7v0BTKuTArczHhauomkzrHyJelowIc8FtSvec5dY uYJwJptlQZXLgiUSb8KmC1WJldxq2m7b+qSA5junHjRB7gf1MNSNcVDeI3P4hFMiN5OG CMjMHZ1zjf1fZUV3iyzdyyTmOqPd1VmFHJwnrAuP7R3e18y+0c7T+U089qaNjqMslxal aXsA== X-Received: by 10.236.129.76 with SMTP id g52mr3164774yhi.160.1364045669881; Sat, 23 Mar 2013 06:34:29 -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.28 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Mar 2013 06:34:29 -0700 (PDT) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale Mailing List Date: Sat, 23 Mar 2013 10:39:52 -0300 Message-Id: <1364045994-19617-7-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> Cc: Otavio Salvador Subject: [meta-fsl-arm][PATCH 6/8] gpu-viv-bin-mx6q: Fix conflicting type definition in HAL header 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:30 -0000 Change-Id: I37567a888ee02bfb55a34f36fe623938f7a07c18 Signed-off-by: Otavio Salvador --- .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 +---- .../fix-conflicting-TLS-definition.patch | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.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 e0a8fb9..80ab5e4 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 @@ -14,6 +14,7 @@ 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 \ + file://fix-conflicting-TLS-definition.patch \ " GPU_XLIBS = "libegl-x11-mx6 libegl-x11-mx6-dev libegl-x11-mx6-dbg \ @@ -30,7 +31,6 @@ GPU_DFBLIBS = "libegl-dfb-mx6 libegl-dfb-mx6-dev libegl-dfb-mx6-dbg \ PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ - libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \ libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ @@ -134,10 +134,6 @@ FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}" FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" RDEPENDS_libgles2-mx6 = "libglslc-mx6" -FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" -FILES_libgl-mx6-dev = "${includedir}/GL ${libdir}/libGL${SOLIBSDEV}" -FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL${SOLIBS}" - FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch new file mode 100644 index 0000000..3eac116 --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch @@ -0,0 +1,31 @@ +Avoid conflicting types with Xorg newer code + +Upstream-Status: Pending +Signed-off-by: Otavio Salvador + +Index: gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h +=================================================================== +--- gpu-viv-bin-mx6q-1.1.0.orig/usr/include/HAL/gc_hal_base.h ++++ gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h +@@ -101,7 +101,7 @@ extern gcsPLS gcPLS; + typedef struct _gcsTLS * gcsTLS_PTR; + + typedef void (* gctTLS_DESTRUCTOR) ( +- gcsTLS_PTR TLS ++ gcsTLS_PTR pTLS + ); + + typedef struct _gcsTLS +@@ -648,10 +648,10 @@ gcoOS_SetPLSValue( + /* Get access to the thread local storage. */ + gceSTATUS + gcoOS_GetTLS( +- OUT gcsTLS_PTR * TLS ++ OUT gcsTLS_PTR * pTLS + ); + +- /* Copy the TLS from a source thread. */ ++ /* Copy the pTLS from a source thread. */ + gceSTATUS gcoOS_CopyTLS(IN gcsTLS_PTR Source); + + /* Destroy the objects associated with the current thread. */ -- 1.8.1