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