You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mail-client/nmh/files/nmh-1.3-db5.patch

18 lines
568 B

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