mutt: update patches for 1.5.21

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Dmitry Nedospasov authored and Adam Vandenberg committed 2011-06-09 10:09:04 -07:00
1 parent c4edb457d8
commit bb341ab2d6
1 file changed
+4 -5
+4 -5
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