summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-ac
blob: d3babdd0bac6e9da6f4afadd7b0b8f817b7e713f (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
$NetBSD: patch-ac,v 1.5 2005/12/19 15:10:18 joerg Exp $

--- config.h.orig	2004-08-22 20:19:09.000000000 +0000
+++ 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
@@ -283,23 +283,42 @@
 # define HAS_POSIX_REGEX
 #endif
 
-#ifdef __FreeBSD__		/* FreeBSD 2.1.6., GNU gcc */
+#if defined(__FreeBSD__) || defined(__DragonFly__)		/* FreeBSD 2.1.6., GNU gcc */
 # define HAS_FCNTL_LOCK
 # define HAS_GETTIMEOFDAY
 # define HAS_TM_GMTOFF
 # define HAS_SYSEXITS_H
 # define HAS_TM_ZONE
 # define HAS_STRFTIME
-# undef  HAS_TZNAME
+# define HAS_TZNAME
 # define HAS_STRCASECMP
 # undef  HAS_STRICMP
-# undef  HAS_STRERROR		/* ? */
+# define HAS_STRERROR		/* ? */
 # undef  DO_BINARY
 # undef  DO_DOSIFY
 # define HAS_SYSLOG
 # define HAS_SNPRINTF		/* ? */
 # define HAS_HARDLINKS
-# undef  HAS_POSIX_REGEX	/* ? */
+# define 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 */