diff options
author | knu <knu@FreeBSD.org> | 2002-11-26 02:47:07 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-11-26 02:47:07 +0800 |
commit | 52cda94440ed7e6b7d04f09122a878fd86c9d0e1 (patch) | |
tree | 78b344d7247f9c4bc2dc38e35a3ae8e8b4beaaf0 /x11-toolkits/ruby-fox12 | |
parent | cee0cfcc426ab9f71b6dd28f540f0ae7e9662218 (diff) | |
download | freebsd-ports-gnome-52cda94440ed7e6b7d04f09122a878fd86c9d0e1.tar.gz freebsd-ports-gnome-52cda94440ed7e6b7d04f09122a878fd86c9d0e1.tar.zst freebsd-ports-gnome-52cda94440ed7e6b7d04f09122a878fd86c9d0e1.zip |
Add a patch to fix the build on current (with gcc 3.2.1).
Diffstat (limited to 'x11-toolkits/ruby-fox12')
-rw-r--r-- | x11-toolkits/ruby-fox12/files/patch-FXRuby.cpp | 13 |
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, |