diff options
| author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-06-09 13:30:19 +0000 |
|---|---|---|
| committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-06-09 13:30:19 +0000 |
| commit | 03f1c01e0f86f9d0b8fd25b27fe925a62dd92fc7 (patch) | |
| tree | 64a10b287f7b6e6dc67acca24f7158ab984b5ea0 /devel/allegro/files/patch-src_x_xkeyboard.c | |
| parent | - Update to 3.32 (diff) | |
- Add sndio support [1]
- Remove ALSA from default options
- Switch to options helpers
- Move audio output options to their own option group
- Make OSS support an explicit option, so that it can be turned off
- Remove OGG option and make it mandatory: audio/libogg is already a
dependency via audio/libvorbis
- Make the port simpler by not building the examples and not
installing the example games (if necessary installing them can be done
later in a separate port)
- Add LICENSE
- Fix WWW
- Allegro never directly links with libpng or libGLU; make them a build
dependency only
- Reset maintainer
PR: 215838
Obtained from: OpenBSD [1]
Approved by: mat (mentor), maintainer timeout (5 months)
Differential Revision: https://reviews.freebsd.org/D11039
Notes
Notes:
svn path=/head/; revision=442981
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..ed66ac2f7ec7 --- /dev/null +++ b/devel/allegro/files/patch-src_x_xkeyboard.c @@ -0,0 +1,19 @@ +--- src/x/xkeyboard.c.orig 2010-12-08 08:13:50 UTC ++++ src/x/xkeyboard.c +@@ -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 @@ void _xwin_get_keyboard_mapping(void) + + 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"); |
