aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-29 13:09:13 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-29 13:09:13 +0000
commit41ba25ca525708d47075dd170ffe06998b161f4d (patch)
tree11621dd0b73b6845f5027e55c67a74713b77a531 /games
parent7857edd75556a2886490bb3287d463f698b76167 (diff)
downloadports-41ba25ca525708d47075dd170ffe06998b161f4d.tar.gz
ports-41ba25ca525708d47075dd170ffe06998b161f4d.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/sdl_scavenger/files/patch-gfx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/sdl_scavenger/files/patch-gfx.c b/games/sdl_scavenger/files/patch-gfx.c
new file mode 100644
index 000000000000..1e3307e6bd85
--- /dev/null
+++ b/games/sdl_scavenger/files/patch-gfx.c
@@ -0,0 +1,12 @@
+--- gfx.c.orig 2020-08-29 13:07:52 UTC
++++ gfx.c
+@@ -21,7 +21,8 @@ unsigned char mustlock=0,locked=0;
+ unsigned char blackcolor,whitecolor;
+
+ int pressedcodes[KEYMAX],downcodes[KEYMAX],numpressed=0,numdown=0;
+-int mousex,mousey,mouseb,mousebd;
++extern int mousex,mousey;
++int mouseb,mousebd;
+
+ unsigned char mymap[768],currentmap[768];
+