summaryrefslogtreecommitdiff
path: root/games/bzflag/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'games/bzflag/patches/patch-ai')
-rw-r--r--games/bzflag/patches/patch-ai45
1 files changed, 0 insertions, 45 deletions
diff --git a/games/bzflag/patches/patch-ai b/games/bzflag/patches/patch-ai
deleted file mode 100644
index 745ab48345a..00000000000
--- a/games/bzflag/patches/patch-ai
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2002/09/24 12:49:13 blymn Exp $
-
---- include/common.h.orig Sun Sep 22 22:36:51 2002
-+++ include/common.h
-@@ -22,6 +22,22 @@
- #include <sys/param.h>
- #endif
-
-+#ifdef __NetBSD__
-+typedef unsigned long u_long;
-+typedef unsigned short u_short;
-+#include <sys/endian.h>
-+#include <sys/types.h>
-+#include <strings.h>
-+#define O_NDELAY O_NONBLOCK /* compat */
-+
-+__BEGIN_DECLS
-+int inet_aton(const char *, struct in_addr *);
-+const char *hstrerror(int);
-+int setenv(const char *, const char *, int);
-+void unsetenv(const char *);
-+__END_DECLS
-+#endif
-+
- #if defined(_WIN32)
- // turn off bogus `this used in base member initialization list'
- #pragma warning(disable: 4355)
-@@ -57,7 +73,7 @@ const boolean False = 0;
- const boolean True = !False;
-
- // some platforms don't have float versions of the math library
--#if defined(_old_linux_) || defined(_MACOSX_) || defined(sun)
-+#if defined(_old_linux_) || defined(_MACOSX_) || defined(sun) || defined(__NetBSD__)
- #define asinf (float)asin
- #define atanf (float)atan
- #define atan2f (float)atan2
-@@ -82,7 +98,7 @@ const boolean True = !False;
-
- #if !defined(_WIN32) & !defined(macintosh)
-
--#ifndef BSD
-+#if !defined(BSD) && !defined(__NetBSD__)
- #include <values.h>
- #endif
- #include <sys/types.h>