From 0289683798bb3b6d1cfbf7cccb834b4b78d9bdab Mon Sep 17 00:00:00 2001 From: Zhai Edwin Date: Thu, 22 Sep 2011 13:51:24 +0800 Subject: qemugl: Use local variable rather than "push" to save register New gcc uses "%esp" rather than "%ebp" to index local variable in stack, and push between save-to/restore-from stack decrease "%esp", which leads wrong index. Saving registers via local variables to make gcc aware of this and avoid stack disorder. [YOCTO #1442] got fixed (From OE-Core rev: afc9edc27e77e80fdd24b4c8c538f91672940e75) Signed-off-by: Zhai Edwin Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/qemugl_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta/recipes-graphics/mesa/qemugl_git.bb') diff --git a/meta/recipes-graphics/mesa/qemugl_git.bb b/meta/recipes-graphics/mesa/qemugl_git.bb index 9d5115f43d..1658759258 100644 --- a/meta/recipes-graphics/mesa/qemugl_git.bb +++ b/meta/recipes-graphics/mesa/qemugl_git.bb @@ -11,13 +11,14 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \ file://versionfix.patch \ - file://remove-x11r6-lib-dir.patch" + file://remove-x11r6-lib-dir.patch \ + file://call_opengl_fix.patch" S = "${WORKDIR}/git" SRCREV = "d888bbc723c00d197d34a39b5b7448660ec1b1c0" PV = "0.0+git${SRCPV}" -PR = "r7" +PR = "r8" DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3-54-g00ecf