summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-fox12
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-11-25 18:47:07 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-11-25 18:47:07 +0000
commit96c45c44ef376b98f7582879c801ca84353c7a12 (patch)
tree68943bc504dab121b7add8c06eb7178883380ded /x11-toolkits/ruby-fox12
parentAdd USE_XLIB (diff)
Add a patch to fix the build on current (with gcc 3.2.1).
Notes
Notes: svn path=/head/; revision=71088
Diffstat (limited to 'x11-toolkits/ruby-fox12')
-rw-r--r--x11-toolkits/ruby-fox12/files/patch-FXRuby.cpp13
1 files changed, 13 insertions, 0 deletions
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,