diff options
author | swills <swills@FreeBSD.org> | 2011-08-12 07:42:24 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-08-12 07:42:24 +0800 |
commit | c0723b3706b21cab09acd0abc0394697bf100462 (patch) | |
tree | 4a59cadb9faeed140385b0f98485f6c53cd675a3 /japanese/tomoe/files | |
parent | 3606275243b0fd7b520caa7dd0a5eed53ab5daf4 (diff) | |
download | freebsd-ports-gnome-c0723b3706b21cab09acd0abc0394697bf100462.tar.gz freebsd-ports-gnome-c0723b3706b21cab09acd0abc0394697bf100462.tar.zst freebsd-ports-gnome-c0723b3706b21cab09acd0abc0394697bf100462.zip |
- Fix build with Ruby 1.9
PR: ports/159150
Submitted by: swills (me)
Approved by: maintainer timeout (ume; >2 weeks)
Diffstat (limited to 'japanese/tomoe/files')
-rw-r--r-- | japanese/tomoe/files/patch-bindings_ruby_tomoe-rb-char.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/tomoe/files/patch-bindings_ruby_tomoe-rb-char.c b/japanese/tomoe/files/patch-bindings_ruby_tomoe-rb-char.c new file mode 100644 index 000000000000..20f2f2ee7770 --- /dev/null +++ b/japanese/tomoe/files/patch-bindings_ruby_tomoe-rb-char.c @@ -0,0 +1,11 @@ +--- bindings/ruby/tomoe-rb-char.c.orig 2011-07-24 02:20:26.000000000 +0000 ++++ bindings/ruby/tomoe-rb-char.c 2011-07-24 02:22:22.000000000 +0000 +@@ -13,7 +13,7 @@ + if (NIL_P(xml)) { + chr = tomoe_char_new(); + } else { +- chr = tomoe_char_new_from_xml_data(RVAL2CSTR(xml), RSTRING(xml)->len); ++ chr = tomoe_char_new_from_xml_data(RVAL2CSTR(xml), RSTRING_LEN(xml)); + } + + G_INITIALIZE(self, chr); |