freebsd-ports/games/freebsd-games/files/patch-snake_snake_snake.c
Sam Lawrance 1478838482 Patch so freebsd-games no longer needs to link against libcompat. It still
requires the old sgtty headers, though.

PR:		ports/68260 (based on)
Submitted by:	Stephen J. Roznowski <sjr@comcast.net>
2006-04-16 12:01:03 +00:00

11 lines
294 B
C

--- 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'