summaryrefslogtreecommitdiff
path: root/games/tt/files/patch-tt.h
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-09-24 18:14:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-09-24 18:14:21 +0000
commit9bab5786850ee98318387d121598f388ea2236d4 (patch)
tree7969b4e5142312e8431437b61625bed167174139 /games/tt/files/patch-tt.h
parent- Update to 0.9.12.1 (diff)
This is a new port of tetris game, written almost 15 years ago,
but being very playable, highly portable, well-tested, and still being developed! It is specifically designed to be played over terminal lines. Includes quite a few game-type options, and just overall-neat piece of software. PR: 56743 Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
Notes
Notes: svn path=/head/; revision=89266
Diffstat (limited to 'games/tt/files/patch-tt.h')
-rw-r--r--games/tt/files/patch-tt.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/tt/files/patch-tt.h b/games/tt/files/patch-tt.h
new file mode 100644
index 000000000000..d30e1715a86e
--- /dev/null
+++ b/games/tt/files/patch-tt.h
@@ -0,0 +1,19 @@
+--- tt.h.orig Sat Sep 13 09:20:29 2003
++++ tt.h Sat Sep 13 09:48:57 2003
+@@ -20,7 +20,7 @@
+ |* *|
+ \***************************************************************************/
+
+-#undef LOCKF /* Use lockf(3) instead of open(O_EXCL) */
++#define LOCKF /* Use lockf(3) instead of open(O_EXCL) */
+
+ /***************************************************************************\
+ |* *|
+@@ -187,5 +187,5 @@
+ /*--------------------------------------------------------------------------*/
+
+ /* This is probably still the most portable way ... */
+-extern int read(), close(), sleep(), unlink(), write(), getuid();
+-extern void usleep();
++//extern int read(), close(), sleep(), unlink(), write(), getuid();
++//extern void usleep();