From 64796c39cf35d075069f22d1ec5302800ebdcff7 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 7 Nov 2002 18:08:50 +0000 Subject: - Unbreak with the new g++. Reported by: bento - Pass "--with-swig=swig1.1" to configure.rb. --- devel/swigruby/files/patch-ruby.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 devel/swigruby/files/patch-ruby.cxx (limited to 'devel/swigruby/files/patch-ruby.cxx') diff --git a/devel/swigruby/files/patch-ruby.cxx b/devel/swigruby/files/patch-ruby.cxx new file mode 100644 index 000000000000..93e75bfbec58 --- /dev/null +++ b/devel/swigruby/files/patch-ruby.cxx @@ -0,0 +1,12 @@ +--- ruby.cxx.orig Thu May 25 01:18:29 2000 ++++ ruby.cxx Fri Nov 8 03:05:43 2002 +@@ -840,3 +840,3 @@ + // --------------------------------------------------------------------- +-char *RUBY::ruby_typemap_lookup(char *op, DataType *type, char *pname, char *source, char *target, WrapperFunction *f = 0) { ++char *RUBY::ruby_typemap_lookup(char *op, DataType *type, char *pname, char *source, char *target, WrapperFunction *f) { + static String s; +@@ -903,3 +903,3 @@ + // --------------------------------------------------------------------- +-char *RUBY::to_VALUE(DataType *type, char *value, int raw = 0) { ++char *RUBY::to_VALUE(DataType *type, char *value, int raw) { + static String str; -- cgit v1.2.3