- unbreak it by removing RUBY_VER= 16 and adding a patch

Approved by:	portmgr (erwin)
This commit is contained in:
Cheng-Lung Sung 2006-10-11 08:32:54 +00:00
parent 0f30452066
commit 75831ff3b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175211
2 changed files with 18 additions and 6 deletions

View file

@ -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

View file

@ -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);