summaryrefslogtreecommitdiffstats
path: root/games/freebsd-games/files/patch-snake_snake_snake.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/freebsd-games/files/patch-snake_snake_snake.c')
-rw-r--r--games/freebsd-games/files/patch-snake_snake_snake.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/freebsd-games/files/patch-snake_snake_snake.c b/games/freebsd-games/files/patch-snake_snake_snake.c
new file mode 100644
index 0000000..a59d7e4
--- /dev/null
+++ b/games/freebsd-games/files/patch-snake_snake_snake.c
@@ -0,0 +1,11 @@
+--- snake/snake/snake.c.orig Tue Nov 11 10:47:06 2003
++++ snake/snake/snake.c Sun Apr 16 21:04:54 2006
+@@ -68,6 +68,8 @@
+ #include "snake.h"
+ #include "pathnames.h"
+
++#define stty(_a,_b) ioctl(_a,TIOCSETP,_b)
++
+ #define PENALTY 10 /* % penalty for invoking spacewarp */
+
+ #define EOT '\004'
OpenPOWER on IntegriCloud