summaryrefslogtreecommitdiff
path: root/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-01-31 02:58:19 +0000
committerSteve Wills <swills@FreeBSD.org>2014-01-31 02:58:19 +0000
commita8d23522f92fd0fd19433514827cc70f7cbe5d15 (patch)
tree4fac7c3a74411f13965bfc40c9b31d9162c367ca /japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
parentcomms/dcf77pi: Update to 1.1.3 (diff)
- Fix build with Ruby 1.9
- Remove deprecation PR: ports/186228 Submitted by: Hiroyuki Iwatsuki <don@na.rim.or.jp> (maintainer)
Diffstat (limited to 'japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c')
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
new file mode 100644
index 000000000000..4f0cc2ccbcec
--- /dev/null
+++ b/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
@@ -0,0 +1,11 @@
+--- ext/ming/ming/swfdisplayitem.c.orig 2003-09-28 14:40:42.000000000 +0900
++++ ext/ming/ming/swfdisplayitem.c 2014-01-29 17:11:21.000000000 +0900
+@@ -190,7 +190,7 @@
+ struct RSWFDisplayItem *i;
+
+ Data_Get_Struct(self, struct RSWFDisplayItem, i);
+- SWFDisplayItem_setName(i->this, STR2CSTR(n));
++ SWFDisplayItem_setName(i->this, StringValuePtr(n));
+
+ return self;
+ }