freebsd-ports/japanese/ruby-ming/files/patch-ext-ming-ming-swfdisplayitem.c
Steve Wills a8d23522f9 - Fix build with Ruby 1.9
- Remove deprecation

PR:		ports/186228
Submitted by:	Hiroyuki Iwatsuki <don@na.rim.or.jp> (maintainer)
2014-01-31 02:58:19 +00:00

11 lines
377 B
C

--- 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;
}