diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-04-20 10:13:31 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-04-20 10:13:31 +0200 |
commit | b9f82f8f946b03fcdb5584d1d8d15c0199c35396 (patch) | |
tree | c53f4b97cc1584d019b9fbea567190fba1c3f8e2 /mail-client/nmh/files | |
parent | mail-filter/libdkim: Remove last-rited pkg (diff) | |
download | gentoo-b9f82f8f946b03fcdb5584d1d8d15c0199c35396.tar.gz gentoo-b9f82f8f946b03fcdb5584d1d8d15c0199c35396.tar.bz2 gentoo-b9f82f8f946b03fcdb5584d1d8d15c0199c35396.zip |
mail-client/nmh: Remove last-rited pkg
Closes: https://bugs.gentoo.org/676938
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'mail-client/nmh/files')
-rw-r--r-- | mail-client/nmh/files/nmh-1.3-db5.patch | 17 | ||||
-rw-r--r-- | mail-client/nmh/files/nmh-1.6-m_getfld.patch | 25 |
2 files changed, 0 insertions, 42 deletions
diff --git a/mail-client/nmh/files/nmh-1.3-db5.patch b/mail-client/nmh/files/nmh-1.3-db5.patch deleted file mode 100644 index 473e2b609aeb..000000000000 --- a/mail-client/nmh/files/nmh-1.3-db5.patch +++ /dev/null @@ -1,17 +0,0 @@ -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 diff --git a/mail-client/nmh/files/nmh-1.6-m_getfld.patch b/mail-client/nmh/files/nmh-1.6-m_getfld.patch deleted file mode 100644 index 36f207796646..000000000000 --- a/mail-client/nmh/files/nmh-1.6-m_getfld.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- nmh-1.6/sbr/m_getfld.c -+++ nmh-1.6/sbr/m_getfld.c -@@ -919,16 +919,16 @@ - register char *ep = pat + patln; - register char pc = *pat++; - -- for(;;) { -- while (pc != *str++) -- if (str > es) -- return 0; -+ for(; str <= es; str++) { -+ if (pc != *str) -+ continue; - if (str > es+1) - return 0; -- sp = str; pp = pat; -+ sp = str+1; pp = pat; - while (pp < ep && *sp++ == *pp) - pp++; - if (pp >= ep) -- return --str; -+ return ((unsigned char *)str); - } -+ return 0; - } |