summaryrefslogtreecommitdiff
path: root/mail/rubygem-tmail
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-11-15 19:56:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-11-15 19:56:05 +0000
commit68469903d67ebeebfe3b24e36bef8dc493d64785 (patch)
tree075fa830c8e0834d07f7f706f0665335724080cf /mail/rubygem-tmail
parentChase gtkhtml's shared lib. (diff)
Apply a patch to avoid coredump on platforms where sizeof(int) !=
sizeof(long). Obtained from; [ruby-list:36492]
Notes
Notes: svn path=/head/; revision=70200
Diffstat (limited to 'mail/rubygem-tmail')
-rw-r--r--mail/rubygem-tmail/Makefile1
-rw-r--r--mail/rubygem-tmail/files/patch-mails.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/rubygem-tmail/Makefile b/mail/rubygem-tmail/Makefile
index 88f880321776..c878b8a91374 100644
--- a/mail/rubygem-tmail/Makefile
+++ b/mail/rubygem-tmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tmail
PORTVERSION= 0.10.6
+PORTREVISION= 1
CATEGORIES= mail ruby
MASTER_SITES= http://www.loveruby.net/archive/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/mail/rubygem-tmail/files/patch-mails.c b/mail/rubygem-tmail/files/patch-mails.c
new file mode 100644
index 000000000000..75d704eda870
--- /dev/null
+++ b/mail/rubygem-tmail/files/patch-mails.c
@@ -0,0 +1,11 @@
+--- packages/tmail/ext/tmail/mails/mails.c.orig Sun Nov 10 23:18:39 2002
++++ packages/tmail/ext/tmail/mails/mails.c Sat Nov 16 04:55:28 2002
+@@ -58,7 +58,7 @@
+
+ static VALUE
+ mails_s_new(klass, str, ident, cmt)
+- VALUE klass;
++ VALUE klass, str, ident, cmt;
+ {
+ struct scanner *sc;
+ const char *tmp;