diff options
author | taca <taca@pkgsrc.org> | 2007-04-02 13:36:21 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2007-04-02 13:36:21 +0000 |
commit | d5e251d785960ceaba98d11e3b4cb55c76ff0e00 (patch) | |
tree | 86be76e0913f07a1e5703726e9f8d4bbc43334d9 /mail/ruby-tmail | |
parent | 0a131ec9c378bd85d729888a8de31c4c7646ff4c (diff) | |
download | pkgsrc-d5e251d785960ceaba98d11e3b4cb55c76ff0e00.tar.gz |
Add a patch to fix RFC2231 encoding bug.
Bump PKGREVISION.
Diffstat (limited to 'mail/ruby-tmail')
-rw-r--r-- | mail/ruby-tmail/Makefile | 4 | ||||
-rw-r--r-- | mail/ruby-tmail/distinfo | 3 | ||||
-rw-r--r-- | mail/ruby-tmail/patches/patch-aa | 18 |
3 files changed, 22 insertions, 3 deletions
diff --git a/mail/ruby-tmail/Makefile b/mail/ruby-tmail/Makefile index 703eeea27b1..ba5f1f41990 100644 --- a/mail/ruby-tmail/Makefile +++ b/mail/ruby-tmail/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2006/01/03 15:07:29 taca Exp $ +# $NetBSD: Makefile,v 1.13 2007/04/02 13:36:21 taca Exp $ DISTNAME= tmail-0.10.8 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= mail ruby MASTER_SITES= http://i.loveruby.net/archive/tmail/ diff --git a/mail/ruby-tmail/distinfo b/mail/ruby-tmail/distinfo index f0cb70dcfe3..d9b1508020e 100644 --- a/mail/ruby-tmail/distinfo +++ b/mail/ruby-tmail/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2006/01/03 14:25:50 taca Exp $ +$NetBSD: distinfo,v 1.5 2007/04/02 13:36:21 taca Exp $ SHA1 (tmail-0.10.8.tar.gz) = 179cad68020fb75de8bb34df489cb54a7cd14384 RMD160 (tmail-0.10.8.tar.gz) = dadba826fdff0b67d17c4e5fb4e3cf36de5c4118 Size (tmail-0.10.8.tar.gz) = 125752 bytes +SHA1 (patch-aa) = bccd6450af7c173484fef96acaea59cf9cd0ae11 diff --git a/mail/ruby-tmail/patches/patch-aa b/mail/ruby-tmail/patches/patch-aa new file mode 100644 index 00000000000..f658cd2f82f --- /dev/null +++ b/mail/ruby-tmail/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2007/04/02 13:36:23 taca Exp $ + +Fix a bug of RFC2231 encoding. + +Index: lib/tmail/textutils.rb +=================================================================== +--- lib/tmail/textutils.rb.orig 2004-02-20 09:35:01.000000000 +0900 ++++ lib/tmail/textutils.rb +@@ -188,8 +188,7 @@ module TMail + + def decode_RFC2231(str) + m = RFC2231_ENCODED.match(str) or return str +- NKF.nkf(NKF_FLAGS[$KCODE], +- m.post_match.gsub(/%[\da-f]{2}/in) {|s| s[1,2].hex.chr }) ++ to_kcode(m.post_match.gsub(/%[\da-f]{2}/in) {|s| s[1,2].hex.chr }) + end + + end |