diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-25 18:47:07 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-25 18:47:07 +0000 |
commit | 96c45c44ef376b98f7582879c801ca84353c7a12 (patch) | |
tree | 68943bc504dab121b7add8c06eb7178883380ded /x11-toolkits | |
parent | Add 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')
-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 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, |