aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-16 03:56:05 +0800
committerknu <knu@FreeBSD.org>2002-11-16 03:56:05 +0800
commit7c27107b462c66a87610b42d2daae5644c0fd681 (patch)
treeaaad6c423eaf4175b30dd61610a2524e043efed8
parent05d3dee306e246b3981fb9fd85a89162eea6a524 (diff)
downloadfreebsd-ports-gnome-7c27107b462c66a87610b42d2daae5644c0fd681.tar.gz
freebsd-ports-gnome-7c27107b462c66a87610b42d2daae5644c0fd681.tar.zst
freebsd-ports-gnome-7c27107b462c66a87610b42d2daae5644c0fd681.zip
Apply a patch to avoid coredump on platforms where sizeof(int) !=
sizeof(long). Obtained from; [ruby-list:36492]
-rw-r--r--mail/ruby-tmail/Makefile1
-rw-r--r--mail/ruby-tmail/files/patch-mails.c11
-rw-r--r--mail/rubygem-tmail/Makefile1
-rw-r--r--mail/rubygem-tmail/files/patch-mails.c11
4 files changed, 24 insertions, 0 deletions
diff --git a/mail/ruby-tmail/Makefile b/mail/ruby-tmail/Makefile
index 88f880321776..c878b8a91374 100644
--- a/mail/ruby-tmail/Makefile
+++ b/mail/ruby-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/ruby-tmail/files/patch-mails.c b/mail/ruby-tmail/files/patch-mails.c
new file mode 100644
index 000000000000..75d704eda870
--- /dev/null
+++ b/mail/ruby-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;
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;