freebsd-ports/games/freebsd-games/files/patch-backgammon_backgammon_main.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
335 B
C

--- backgammon/backgammon/main.c.orig Tue Nov 11 10:46:54 2003
+++ backgammon/backgammon/main.c Sun Apr 16 21:21:01 2006
@@ -53,6 +53,8 @@
#include <signal.h>
#include "back.h"
+#define gtty(_a,_b) ioctl(_a,TIOCGETP,_b)
+
#define MVPAUSE 5 /* time to sleep when stuck */
#define MAXUSERS 35 /* maximum number of users */