summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-ac
blob: 548d6ae3af0fc1cda07dcb7a219e2953ccb30072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-ac,v 1.4 2004/08/23 15:18:02 tv Exp $

--- config.h.orig	2002-07-15 16:21:55.000000000 -0400
+++ config.h
@@ -108,7 +108,7 @@
 /***** rfc2ftn configuration ************************************************/
 
 /** Passthru operation for NetMail: FIDO->Internet->FIDO **/
-/* #define PASSTHRU_NETMAIL */
+#define PASSTHRU_NETMAIL
 /** Passthru operation for EchoMail: FIDO->Internet->FIDO **/
 /*
  * Implemented, but requires ftntoss run after rfc2ftn to sort SEEN-BY
@@ -302,6 +302,25 @@
 # undef  HAS_POSIX_REGEX	/* ? */
 #endif
 
+#ifdef __NetBSD__
+# define HAS_FCNTL_LOCK
+# define HAS_GETTIMEOFDAY
+# define HAS_TM_GMTOFF
+# define HAS_SYSEXITS_H
+# define HAS_TM_ZONE
+# define HAS_STRFTIME
+# define HAS_TZNAME
+# define HAS_STRCASECMP
+# undef  HAS_STRICMP
+# define HAS_STRERROR
+# undef  DO_BINARY
+# undef  DO_DOSIFY
+# define HAS_SYSLOG
+# define HAS_SNPRINTF
+# define HAS_HARDLINKS
+# define HAS_POSIX_REGEX
+#endif
+
 #ifdef ISC			/* ISC 3.x, GNU gcc, -DISC necessary */
 # define HAS_FCNTL_LOCK
 # define HAS_GETTIMEOFDAY