summaryrefslogtreecommitdiffstats
path: root/games/freebsd-games/files/patch-trek_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/freebsd-games/files/patch-trek_main.c')
-rw-r--r--games/freebsd-games/files/patch-trek_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/freebsd-games/files/patch-trek_main.c b/games/freebsd-games/files/patch-trek_main.c
new file mode 100644
index 0000000..684bc7f
--- /dev/null
+++ b/games/freebsd-games/files/patch-trek_main.c
@@ -0,0 +1,11 @@
+--- 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);
OpenPOWER on IntegriCloud