summaryrefslogtreecommitdiff
path: root/games/hugo/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'games/hugo/patches/patch-ag')
-rw-r--r--games/hugo/patches/patch-ag22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/hugo/patches/patch-ag b/games/hugo/patches/patch-ag
new file mode 100644
index 00000000000..7a33ebcbe26
--- /dev/null
+++ b/games/hugo/patches/patch-ag
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.1 2004/05/28 14:24:04 dillo Exp $
+
+--- gcc/hdgcc.c.orig 2002-08-08 13:28:19.000000000 +0200
++++ gcc/hdgcc.c
+@@ -193,7 +193,7 @@ GetNewEvent:
+ return;
+ }
+ case UP_ARROW:
+- {event.action = MOVE; event.object = UP; break;}
++ {event.action = MOVE; event.object = EV_UP; break;}
+ case DOWN_ARROW:
+ {event.action = MOVE; event.object = DOWN; break;}
+ case RIGHT_ARROW:
+@@ -821,7 +821,7 @@ void debug_windowscroll(int left, int to
+ {
+ switch (param)
+ {
+- case UP:
++ case EV_UP:
+ for (y=top+1; y<=bottom; y++)
+ for (x=left; x<=right; x++)
+ {