summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/ruby-fox-devel/files/patch-FXRuby.cpp13
-rw-r--r--x11-toolkits/ruby-fox/files/patch-FXRuby.cpp13
-rw-r--r--x11-toolkits/ruby-fox10/files/patch-FXRuby.cpp13
-rw-r--r--x11-toolkits/ruby-fox12/files/patch-FXRuby.cpp13
4 files changed, 52 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-fox-devel/files/patch-FXRuby.cpp b/x11-toolkits/ruby-fox-devel/files/patch-FXRuby.cpp
new file mode 100644
index 000000000000..ce9f72b7b72e
--- /dev/null
+++ b/x11-toolkits/ruby-fox-devel/files/patch-FXRuby.cpp
@@ -0,0 +1,13 @@
+--- ext/fox/FXRuby.cpp.orig Thu Mar 21 02:49:53 2002
++++ ext/fox/FXRuby.cpp Tue Nov 26 03:44:37 2002
+@@ -761,8 +761,8 @@
+ VALUE retval;
+ if(FXRbCatchExceptions){
+ #if RUBY_VERSION_CODE < 170
+- retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
+- (VALUE(*)()) handle_rescue, Qnil,
++ retval=rb_rescue2((VALUE(*)(...)) handle_body, (VALUE) &hArgs,
++ (VALUE(*)(...)) handle_rescue, Qnil,
+ rb_eStandardError, rb_eNameError, 0);
+ #else
+ retval=rb_rescue2((VALUE(*)(ANYARGS)) handle_body, (VALUE) &hArgs,
diff --git a/x11-toolkits/ruby-fox/files/patch-FXRuby.cpp b/x11-toolkits/ruby-fox/files/patch-FXRuby.cpp
new file mode 100644
index 000000000000..ce9f72b7b72e
--- /dev/null
+++ b/x11-toolkits/ruby-fox/files/patch-FXRuby.cpp
@@ -0,0 +1,13 @@
+--- ext/fox/FXRuby.cpp.orig Thu Mar 21 02:49:53 2002
++++ ext/fox/FXRuby.cpp Tue Nov 26 03:44:37 2002
+@@ -761,8 +761,8 @@
+ VALUE retval;
+ if(FXRbCatchExceptions){
+ #if RUBY_VERSION_CODE < 170
+- retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
+- (VALUE(*)()) handle_rescue, Qnil,
++ retval=rb_rescue2((VALUE(*)(...)) handle_body, (VALUE) &hArgs,
++ (VALUE(*)(...)) handle_rescue, Qnil,
+ rb_eStandardError, rb_eNameError, 0);
+ #else
+ retval=rb_rescue2((VALUE(*)(ANYARGS)) handle_body, (VALUE) &hArgs,
diff --git a/x11-toolkits/ruby-fox10/files/patch-FXRuby.cpp b/x11-toolkits/ruby-fox10/files/patch-FXRuby.cpp
new file mode 100644
index 000000000000..ce9f72b7b72e
--- /dev/null
+++ b/x11-toolkits/ruby-fox10/files/patch-FXRuby.cpp
@@ -0,0 +1,13 @@
+--- ext/fox/FXRuby.cpp.orig Thu Mar 21 02:49:53 2002
++++ ext/fox/FXRuby.cpp Tue Nov 26 03:44:37 2002
+@@ -761,8 +761,8 @@
+ VALUE retval;
+ if(FXRbCatchExceptions){
+ #if RUBY_VERSION_CODE < 170
+- retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
+- (VALUE(*)()) handle_rescue, Qnil,
++ retval=rb_rescue2((VALUE(*)(...)) handle_body, (VALUE) &hArgs,
++ (VALUE(*)(...)) handle_rescue, Qnil,
+ rb_eStandardError, rb_eNameError, 0);
+ #else
+ retval=rb_rescue2((VALUE(*)(ANYARGS)) handle_body, (VALUE) &hArgs,
diff --git a/x11-toolkits/ruby-fox12/files/patch-FXRuby.cpp b/x11-toolkits/ruby-fox12/files/patch-FXRuby.cpp
new file mode 100644
index 000000000000..ce9f72b7b72e
--- /dev/null
+++ b/x11-toolkits/ruby-fox12/files/patch-FXRuby.cpp
@@ -0,0 +1,13 @@
+--- ext/fox/FXRuby.cpp.orig Thu Mar 21 02:49:53 2002
++++ ext/fox/FXRuby.cpp Tue Nov 26 03:44:37 2002
+@@ -761,8 +761,8 @@
+ VALUE retval;
+ if(FXRbCatchExceptions){
+ #if RUBY_VERSION_CODE < 170
+- retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
+- (VALUE(*)()) handle_rescue, Qnil,
++ retval=rb_rescue2((VALUE(*)(...)) handle_body, (VALUE) &hArgs,
++ (VALUE(*)(...)) handle_rescue, Qnil,
+ rb_eStandardError, rb_eNameError, 0);
+ #else
+ retval=rb_rescue2((VALUE(*)(ANYARGS)) handle_body, (VALUE) &hArgs,