Patchwork [2/2] glib-2.0: Add patch "no-check-qsort_r.patch"

login
register
mail settings
Submitter Xiaofeng Yan
Date Feb. 6, 2012, 6:41 a.m.
Message ID <35ca94a06bec973665a15cc14c0abccae890154a.1328509284.git.xiaofeng.yan@windriver.com>
Download mbox | patch
Permalink /patch/20769/
State New
Headers show

Comments

Xiaofeng Yan - Feb. 6, 2012, 6:41 a.m.
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Apply this patch for avoiding sort error. Please check no-check-qsort_r.patch
for detailed information.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Khem Raj - Feb. 6, 2012, 3:33 p.m.
On Sun, Feb 5, 2012 at 10:41 PM, Xiaofeng Yan
<xiaofeng.yan@windriver.com> wrote:
>
> +           file://file://no-check-qsort_r.patch \

really ?
Xiaofeng Yan - Feb. 7, 2012, 5:40 a.m.
On 2012?02?06? 23:33, Khem Raj wrote:
> On Sun, Feb 5, 2012 at 10:41 PM, Xiaofeng Yan
> <xiaofeng.yan@windriver.com>  wrote:
>> +           file://file://no-check-qsort_r.patch \
> really ?
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
I run qsort-test.c in core-image-lsb-sdk, The result is ok. I didn't 
know how to resolve this bug. I think I need to apply this patch only in 
core-image-lsb-qt3 and other images don't apply this patch.

Patch

diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb
index bdf92aa..a5ec28a 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb
@@ -1,6 +1,6 @@ 
 require glib.inc
 
-PR = "r2"
+PR = "r3"
 PE = "1"
 
 DEPENDS += "libffi python-argparse-native zlib"
@@ -14,6 +14,7 @@  SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.bz2 \
            file://60_wait-longer-for-threads-to-die.patch \
            file://g_once_init_enter.patch \
            file://glib-2.0_fix_for_x32.patch \
+           file://file://no-check-qsort_r.patch \
           "
 SRC_URI[md5sum] = "b40f3889e8d24e1b367763673ca6deb5"
 SRC_URI[sha256sum] = "94b1f1a1456c67060ca868d299bef3f7268a2c1c5c360aabb7149d4d9b2fdcd3"