summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ruby-textbuf/Makefile6
-rw-r--r--devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c18
2 files changed, 18 insertions, 6 deletions
diff --git a/devel/ruby-textbuf/Makefile b/devel/ruby-textbuf/Makefile
index dbde82962182..28905234eea1 100644
--- a/devel/ruby-textbuf/Makefile
+++ b/devel/ruby-textbuf/Makefile
@@ -17,10 +17,6 @@ DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= Gapped text buffer extention for Ruby
-BROKEN= Inconsistent dependencies
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2006-12-01
-
USE_RUBY= yes
USE_RUBY_AMSTD= yes
USE_RUBY_SETUP= yes
@@ -28,8 +24,6 @@ USE_RUBY_SETUP= yes
DOCS_EN= README.en
DOCS_JA= README.ja
-RUBY_VER= 1.6
-
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
diff --git a/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c b/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c
new file mode 100644
index 000000000000..5bf99a4a1d7f
--- /dev/null
+++ b/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c
@@ -0,0 +1,18 @@
+--- ext/textbuf/sftextbuf.c.orig Thu Mar 15 01:30:08 2001
++++ ext/textbuf/sftextbuf.c Wed Oct 11 09:07:55 2006
+@@ -1158,7 +1158,6 @@
+ OBJSETUP(str, rb_cString, T_STRING);
+ str->ptr = 0;
+ str->len = 0;
+- str->orig = 0;
+ OBJ_FREEZE(str);
+
+ CRITICAL_BEGIN(buf);
+@@ -1199,7 +1198,6 @@
+ OBJSETUP(str, rb_cString, T_STRING);
+ str->ptr = 0;
+ str->len = 0;
+- str->orig = 0;
+ OBJ_FREEZE(str);
+
+ CRITICAL_BEGIN(buf);