diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-01 14:45:33 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-01 14:45:33 +0000 |
commit | 5d606a0f934a64acf70fff4f3e0b33854e4e3111 (patch) | |
tree | fd24fa223072fe4b898163935e8cb44f116d92db /devel/allegro/files/patch-src-x-xkeyboard.c | |
parent | This module offers a minimalist class construction kit in around 120 (diff) |
- Bump portrevision
- Add master site SF/nemysisfreebsdp/devel/allegro
- Change maintainer email to @FreeBSD.org
- USES gmake cmake pkgconfig
- Remove conflict with devel/allegro-devel
- Set PORTSCOUT
- Use the new format for LIB_DEPENDS
- Add ALSA, DOCS, JACK and OGG Options
- Add ALSA, DEMOS and OGG to default Options
- Change DOCS and EXAMPLES, simplify man install
- Support STAGEDIR and add OPTIONS_SUB
- Add demos Shooter and Skater, add Icons, Desktop entry files
- Use REINPLACE_CMD instead of simple patches
- Add patch
- Add pkg-message
- Remove Makefile.man
PR: ports/180909
Submitted by: nemysis (self)
Approved by: pawel (mentor)
Diffstat (limited to 'devel/allegro/files/patch-src-x-xkeyboard.c')
-rw-r--r-- | devel/allegro/files/patch-src-x-xkeyboard.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/allegro/files/patch-src-x-xkeyboard.c b/devel/allegro/files/patch-src-x-xkeyboard.c new file mode 100644 index 000000000000..d7752b508c51 --- /dev/null +++ b/devel/allegro/files/patch-src-x-xkeyboard.c @@ -0,0 +1,19 @@ +--- src/x/xkeyboard.c.orig 2010-12-08 09:13:50.000000000 +0100 ++++ src/x/xkeyboard.c 2013-07-28 00:17:52.000000000 +0200 +@@ -23,6 +23,7 @@ + #include <X11/Xos.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> ++#include <X11/XKBlib.h> + #include <X11/Xproto.h> + + #include "allegro.h" +@@ -617,7 +618,7 @@ + + TRACE (PREFIX_I "Modifier %d:", i + 1); + for (j = 0; j < xmodmap->max_keypermod; j++) { +- KeySym sym = XKeycodeToKeysym(_xwin.display, ++ KeySym sym = XkbKeycodeToKeysym(_xwin.display, 0, + xmodmap->modifiermap[i * xmodmap->max_keypermod + j], 0); + char *sym_str = XKeysymToString(sym); + TRACE(" %s", sym_str ? sym_str : "NULL"); |