]> Pileus Git - ~andy/sunrise/blobdiff - mail-client/nmh/files/nmh-1.3-db5.patch
mail-client/nmh: New Ebuild for bug 336057 to resurrect mail-client/nmh thanks to...
[~andy/sunrise] / mail-client / nmh / files / nmh-1.3-db5.patch
diff --git a/mail-client/nmh/files/nmh-1.3-db5.patch b/mail-client/nmh/files/nmh-1.3-db5.patch
new file mode 100644 (file)
index 0000000..473e2b6
--- /dev/null
@@ -0,0 +1,17 @@
+diff --git a/uip/slocal.c b/uip/slocal.c
+index 9697d84..d38a020 100644
+--- a/uip/slocal.c
++++ b/uip/slocal.c
+@@ -46,6 +46,12 @@
+ extern int  initgroups(char*, int);
+ #endif
++/* This define is needed for Berkeley db v5 and above to
++ * make the header file expose the 'historical' ndbm APIs.
++ * We define it unconditionally because this is simple and
++ * harmless.
++ */
++#define HAVE_DBM
+ /* This define is needed for Berkeley db v2 and above to
+  * make the header file expose the 'historical' ndbm APIs.
+  * We define it unconditionally because this is simple and