summaryrefslogtreecommitdiff
path: root/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c')
-rw-r--r--graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c b/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c
new file mode 100644
index 000000000000..d98a970173f8
--- /dev/null
+++ b/graphics/ruby-ming/files/patch-ext-ming-mingc-swfmovie.c
@@ -0,0 +1,20 @@
+--- ext/ming/mingc/swfmovie.c~ Sun Oct 31 22:52:10 2004
++++ ext/ming/mingc/swfmovie.c Wed Apr 12 23:42:58 2006
+@@ -228,7 +228,7 @@
+ level = NUM2INT(lobj);
+
+ Data_Get_Struct(self, struct RSWFMovie, m);
+- len = SWFMovie_output(m->this, simpleOutputMethod, NULL, level);
++ len = SWFMovie_output(m->this, simpleOutputMethod, NULL/*, level*/);
+
+ return INT2NUM(len);
+ }
+@@ -249,7 +249,7 @@
+ level = NUM2INT(lobj);
+
+ Data_Get_Struct(self, struct RSWFMovie, m);
+- count = SWFMovie_save(m->this, STR2CSTR(s), level);
++ count = SWFMovie_save(m->this, STR2CSTR(s)/*, level*/);
+
+ return INT2NUM(count);
+ }