summaryrefslogtreecommitdiff
path: root/mail/nmh/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'mail/nmh/files/patch-aa')
-rw-r--r--mail/nmh/files/patch-aa43
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/nmh/files/patch-aa b/mail/nmh/files/patch-aa
new file mode 100644
index 000000000000..7a5cf945a71d
--- /dev/null
+++ b/mail/nmh/files/patch-aa
@@ -0,0 +1,43 @@
+diff -ur nmh-0.14-dist/acconfig.h nmh-0.14/acconfig.h
+--- acconfig.h-dist Wed Apr 16 21:25:42 1997
++++ acconfig.h Tue May 20 18:59:52 1997
+@@ -1,3 +1,9 @@
++/* Define if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
+
+ /****** BEGIN USER CONFIGURATION SECTION *****/
+
+@@ -37,9 +40,11 @@
+ * OpenBSD 2.x
+ * BSD/OS 2.x
+ */
+-/* #define BIND 1 */
+-/* #define BSD42 1 */
+-/* #define BSD44 1 */
++#ifdef BSD4_4
++#define BIND 1
++#define BSD42 1
++#define BSD44 1
++#endif
+
+ /*
+ * SCO 4.x
+@@ -72,10 +77,14 @@
+ * other programs which may modify your maildrops.
+ * Currently you can only use one type.
+ */
++#if defined(BSD44)
++#define FCNTL_LOCKING 1
++#else
+ #define DOT_LOCKING 1
+ /* #define FCNTL_LOCKING 1 */
+ /* #define LOCKF_LOCKING 1 */
+ /* #define FLOCK_LOCKING 1 */
++#endif
+
+ /*
+ * If you have defined DOT_LOCKING, then the default is to