summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-atc_include.h
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
commitcc415305a049ca523f2a8cf674009fa77c54fee6 (patch)
tree6cf30da0266c6ffa712f243cc23f3c1b5c4a4fb8 /games/bsdgames/files/patch-atc_include.h
parent- Now fix to use this port on !i386. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'.release/8.0.0
Diffstat (limited to 'games/bsdgames/files/patch-atc_include.h')
-rw-r--r--games/bsdgames/files/patch-atc_include.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/games/bsdgames/files/patch-atc_include.h b/games/bsdgames/files/patch-atc_include.h
deleted file mode 100644
index e35e06466e45..000000000000
--- a/games/bsdgames/files/patch-atc_include.h
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: atc/include.h
-@@ -63,6 +63,14 @@
- #include <sys/utsname.h>
- #endif
-
-+#ifdef POSIX
-+#include <termios.h>
-+#include <fcntl.h>
-+#include <unistd.h>
-+#include <string.h>
-+#include <sys/utsname.h>
-+#endif
-+
- #include <signal.h>
- #include <math.h>
-
-@@ -76,6 +84,18 @@
- #define srandom srand
- #define random rand
- #define sgttyb termio
-+#define sg_erase c_cc[VERASE]
-+#define sg_kill c_cc[VKILL]
-+#endif
-+
-+#ifdef POSIX
-+#define index strchr
-+#define rindex strrchr
-+#define bcopy(a,b,c) memcpy((b), (a), (c))
-+#define bzero(a,b) memset((a), '\0', (b))
-+#define srandom srand
-+#define random rand
-+#define sgttyb termios
- #define sg_erase c_cc[2]
- #define sg_kill c_cc[3]
- #endif