Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86398 Details for
Bug 132571
libsdl-1.2.9 fails to compile with DirectFB-0.9.25.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Handles missing DIKI_ALTGR enum
libsdl-1.2.9-DirectFB-updates2.patch (text/plain), 1.03 KB, created by
Sascha Schwarz
on 2006-05-07 16:02:44 UTC
(
hide
)
Description:
Handles missing DIKI_ALTGR enum
Filename:
MIME Type:
Creator:
Sascha Schwarz
Created:
2006-05-07 16:02:44 UTC
Size:
1.03 KB
patch
obsolete
>Another Day - another API change... > >http://www.directfb.org/index.php/viewcvs.cgi/DirectFB/include/directfb_keyboard.h.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h > >--- SDL-1.2.9/src/video/directfb/SDL_DirectFB_events.c 2004-01-04 17:49:24.000000000 +0100 >+++ SDL-1.2.9_20060507/src/video/directfb/SDL_DirectFB_events.c 2006-05-07 22:44:15.000000000 +0200 >@@ -36,6 +36,7 @@ > #include <termios.h> > > #include <directfb.h> >+#include <directfb_version.h> > > #include "SDL.h" > #include "SDL_sysevents.h" >@@ -161,7 +162,11 @@ > keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT; > keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT; > keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT; >+#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 25) > keymap[DIKI_ALTGR - DIKI_UNKNOWN] = SDLK_RALT; >+#else >+ keymap[DIKI_ALT_R - DIKI_UNKNOWN] = SDLK_RALT; >+#endif > keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB; > keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN; > keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132571
: 86398