freebsd-ports/games/freebsd-games/files/patch-trek_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
276 B
C

--- trek/main.c.orig Mon Jun 24 04:29:52 2002
+++ trek/main.c Sun Apr 16 21:26:44 2006
@@ -51,6 +51,8 @@
# include <setjmp.h>
# include <stdlib.h>
+#define gtty(_a,_b) ioctl(_a,TIOCGETP,_b)
+
# define PRIO 00 /* default priority */
int Mother = 51 + (51 << 8);