diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/grepmail/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/grepmail/files')
-rw-r--r-- | net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch | 33 | ||||
-rw-r--r-- | net-mail/grepmail/files/5.30.33-midnight.patch | 17 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch b/net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch new file mode 100644 index 000000000000..cdab28bb635c --- /dev/null +++ b/net-mail/grepmail/files/5.30.33-fix_nonexistent_mailbox_test.patch @@ -0,0 +1,33 @@ +Description: Fix FTBFS with libmail-mbox-messageparser-perl 1.5002 + From 1.5002, it does not return "No data on standard input" anymore. +Author: Vincent Legout <vincent@legout.info> +Last-Update: 2010-04-28 +Bug-Debian: http://bugs.debian.org/549782 +Bug-Gentoo: https://bugs.gentoo.org/296657 + +--- grepmail/t/nonexistent_mailbox.t ++++ grepmail/t/nonexistent_mailbox.t +@@ -13,21 +13,15 @@ + => ['none','no_such_file'], + "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . + " | grepmail pattern" +- => ['none','no_data'], ++ => ['none','none'], + "grepmail -E $single_quote\$email =~ /pattern/$single_quote no_such_file" + => ['none','no_such_file'], + "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . + " | grepmail -E $single_quote\$email =~ /pattern/$single_quote" +- => ['none','no_data'], ++ => ['none','none'], + ); + + my %expected_errors = ( +-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . +- " | grepmail pattern" +- => 1, +-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() . +- " | grepmail -E $single_quote\$email =~ /pattern/$single_quote" +- => 1, + ); + + my %localization = ( diff --git a/net-mail/grepmail/files/5.30.33-midnight.patch b/net-mail/grepmail/files/5.30.33-midnight.patch new file mode 100644 index 000000000000..d861774df81a --- /dev/null +++ b/net-mail/grepmail/files/5.30.33-midnight.patch @@ -0,0 +1,17 @@ +Description: Fix bug with midnight +Author: Manuel Prinz <manuel@debian.org> +Last-Update: 2010-02-22 +Bug-Debian: http://bugs.debian.org/559588 +Bug-Gentoo: https://bugs.gentoo.org/355067 + +--- grepmail/grepmail ++++ grepmail/grepmail +@@ -397,7 +397,7 @@ + if (eval 'require Date::Manip') + { + my ($version_number) = $Date::Manip::VERSION =~ /^(\d+\.\d+)/; +- Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43; ++ Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43 and $version_number < 6; + } + } + |