mutt: update patches for 1.5.21

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Dmitry Nedospasov 2011-03-14 16:47:30 +01:00 committed by Adam Vandenberg
parent 71759a8f2b
commit b7584b9c75

View file

@ -9,23 +9,22 @@ class Mutt < Formula
def options
[
['--sidebar-patch', "Apply sidebar (folder list) patch"],
['--enable-debug', "Build with debug option enabled"],
['--sidebar-patch', "Apply sidebar (folder list) patch"],
['--trash-patch', "Apply trash folder patch"]
]
end
def patches
# Fix unsubscribe malformed folder
# See: http://dev.mutt.org/trac/ticket/3389
p = [ 'http://dev.mutt.org/hg/mutt/raw-rev/25e46aad362b' ]
p = Array.new
if ARGV.include? '--sidebar-patch'
p << 'http://lunar-linux.org/~tchan/mutt/patch-1.5.20.sidebar.20090619.txt'
p << 'https://raw.github.com/nedos/mutt-sidebar-patch/master/mutt-sidebar.patch'
end
if ARGV.include? '--trash-patch'
p << 'http://trac.macports.org/export/69644/trunk/dports/mail/mutt-devel/files/patch-1.5.20.bk.trash_folder-purge_message.1'
p << 'http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-5/features/trash-folder'
end
return p