summaryrefslogtreecommitdiff
path: root/net/freenet-tools/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/freenet-tools/patches/patch-ab')
-rw-r--r--net/freenet-tools/patches/patch-ab31
1 files changed, 0 insertions, 31 deletions
diff --git a/net/freenet-tools/patches/patch-ab b/net/freenet-tools/patches/patch-ab
deleted file mode 100644
index 7de9a8f11c9..00000000000
--- a/net/freenet-tools/patches/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/10/29 17:06:50 tv Exp $
-
---- ft.h.orig Thu May 20 06:31:46 2004
-+++ ft.h
-@@ -44,7 +44,6 @@
- #include <dirent.h>
-
- #ifdef __CYGWIN__
--#define timegm(x) cyg_timegm(x)
- #define OPEN_RB "rb"
- #define OPEN_WB "wb"
- #else
-@@ -111,8 +110,16 @@ enum {
- #define UNKNOWNERROR "UNKNOWN"
- #endif
-
--#ifdef __CYGWIN__
--time_t cyg_timegm(struct tm *tm);
-+#if defined(__CYGWIN__) || defined(__INTERIX)
-+time_t timegm(struct tm *tm);
-+#endif
-+
-+#ifdef __INTERIX
-+#define socklen_t int
-+#define strtoull _strtouq
-+
-+/* hidden version of strtoull() in libc */
-+u_quad_t _strtouq(const char *, char **, int);
- #endif
-
- #ifdef __cplusplus