aboutsummaryrefslogtreecommitdiff
path: root/japanese/tomoe/files
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-08-11 23:42:24 +0000
committerSteve Wills <swills@FreeBSD.org>2011-08-11 23:42:24 +0000
commit77deb46b4865e548ad149efa68e8ae2bed1196f5 (patch)
tree92ac0a3b4690dc5776008c5fa1efdd4fefa5adc0 /japanese/tomoe/files
parent3304a6db7c272db269e9140d62975969d4323a15 (diff)
downloadports-77deb46b4865e548ad149efa68e8ae2bed1196f5.tar.gz
ports-77deb46b4865e548ad149efa68e8ae2bed1196f5.zip
Notes
Diffstat (limited to 'japanese/tomoe/files')
-rw-r--r--japanese/tomoe/files/patch-bindings_ruby_tomoe-rb-char.c11
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);