aboutsummaryrefslogtreecommitdiffstats
path: root/games/xgalaga
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-16 08:41:30 +0800
committerpav <pav@FreeBSD.org>2003-11-16 08:41:30 +0800
commit7ad0d2a2558b219c542c361438e71bbe25278aa3 (patch)
tree7f7782d289232b1462bcafbdf00ba39c6d3bc24d /games/xgalaga
parentf19e43d86f829825695e5ed97c4f4c220ace651a (diff)
downloadfreebsd-ports-gnome-7ad0d2a2558b219c542c361438e71bbe25278aa3.tar.gz
freebsd-ports-gnome-7ad0d2a2558b219c542c361438e71bbe25278aa3.tar.zst
freebsd-ports-gnome-7ad0d2a2558b219c542c361438e71bbe25278aa3.zip
Fix spacebar behaviour under KDE and GNOME.
PR: ports/59195 Submitted by: Lee Harr <missive@hotmail.com> Approved by: marcus (backup mentor)
Diffstat (limited to 'games/xgalaga')
-rw-r--r--games/xgalaga/Makefile2
-rw-r--r--games/xgalaga/files/patch-ae18
2 files changed, 19 insertions, 1 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index bea8bb66f5a6..a7a12ffd4499 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xgalaga
PORTVERSION= 2.0.34
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.cit.uws.edu.au/pub/unix/games/ \
http://ftp.yars.free.net/pub/software/unix/games/arcade/ \
diff --git a/games/xgalaga/files/patch-ae b/games/xgalaga/files/patch-ae
new file mode 100644
index 000000000000..58c77cfb4d03
--- /dev/null
+++ b/games/xgalaga/files/patch-ae
@@ -0,0 +1,18 @@
+--- main.c.orig Mon May 11 08:52:59 1998
++++ main.c Sat Nov 15 19:34:53 2003
+@@ -779,6 +779,7 @@
+ if(gameOver) {
+ while(W_EventsPending()) {
+ W_NextEvent(&wev);
++ if (wev.key >= 256) wev.key -= 256;
+
+ if(gameOver)
+ mouseControl = 1;
+@@ -826,6 +827,7 @@
+
+ while(W_EventsPending()) {
+ W_NextEvent(&wev);
++ if (wev.key >= 256) wev.key -= 256;
+
+ switch(wev.type) {
+ case W_EV_KEY_OFF: