From 5d606a0f934a64acf70fff4f3e0b33854e4e3111 Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Fri, 1 Nov 2013 14:45:33 +0000 Subject: - 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) --- devel/allegro/files/patch-src-x-xkeyboard.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devel/allegro/files/patch-src-x-xkeyboard.c (limited to 'devel/allegro/files/patch-src-x-xkeyboard.c') 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 + #include + #include ++#include + #include + + #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"); -- cgit v1.2.3