diff options
| author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-10-11 08:32:54 +0000 |
|---|---|---|
| committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-10-11 08:32:54 +0000 |
| commit | 75831ff3b73ce0ac4eeef2599f3b27c8b4e4d899 (patch) | |
| tree | 8265f80ca2c8506b43817aaa1677eaee1b013561 /devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c | |
| parent | devel/cscope was fixed in version 15.6 so use lt instead of le. (diff) | |
- unbreak it by removing RUBY_VER= 16 and adding a patch
Approved by: portmgr (erwin)
Diffstat (limited to 'devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c')
| -rw-r--r-- | devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c | 18 |
1 files changed, 18 insertions, 0 deletions
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); |
