1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/freebsd-games/files/patch-snake_snake_move.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

13 lines
278 B
C

--- snake/snake/move.c.orig Wed May 29 02:54:00 2002
+++ snake/snake/move.c Sun Apr 16 21:04:37 2006
@@ -103,6 +103,9 @@
#include "snake.h"
+#define stty(_a,_b) ioctl(_a,TIOCSETP,_b)
+#define gtty(_a,_b) ioctl(_a,TIOCGETP,_b)
+
int CMlength;
int NDlength;
int BSlength;