Files
poky/meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch
Yu Ke 7b441c2f3f upstream status: add for libsdl and xserver patches
(From OE-Core rev: 8afcc3551be8d608a2082ab7da7a6bfdba490f15)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26 15:48:59 +01:00

36 lines
1.5 KiB
Diff

Upstream-Status: Pending
--- tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_DirectFB_video.c 2007-02-18 11:40:38.000000000 -0500
+++ SDL/src/video/directfb/SDL_DirectFB_video.c 2007-02-18 11:00:07.000000000 -0500
@@ -376,7 +376,7 @@
{
int i;
DFBResult ret;
- DFBCardCapabilities caps;
+ DFBGraphicsDeviceDescription caps;
DFBDisplayLayerConfig dlc;
struct DirectFBEnumRect *rect;
IDirectFB *dfb = NULL;
@@ -448,7 +448,7 @@
/* Query card capabilities to get the video memory size */
- dfb->GetCardCapabilities (dfb, &caps);
+ dfb->GetDeviceDescription (dfb, &caps);
this->info.wm_available = 1;
this->info.hw_available = 1;
diff -u'rNF^function' tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_Direct
/SDL_DirectFB_events.c
--- tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_DirectFB_events.c 2004-0
+++ SDL/src/video/directfb/SDL_DirectFB_events.c 2007-02-18 11:00:07.000000000 -0500
@@ -161,7 +161,7 @@
keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT;
keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT;
keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT;
- keymap[DIKI_ALTGR - DIKI_UNKNOWN] = SDLK_RALT;
+ keymap[DIKI_ALT_R - DIKI_UNKNOWN] = SDLK_RALT;
keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB;
keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN;
keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE;