Subject: Re: [ruby-gnome2-devel-en] Patch to compile under ruby 1.9
Date: mar 09 dic 08 08:28:24 +0900
Quoting Kouhei S. ([email protected]):
I’m sorry for my late response. I did the same work a month ago.
I know that there are many other problems to work with Ruby
1.9 but I have time for now…
No problem of course.
There were a few other things in my patch, that are still not
corrected in the SVN tree:
- the rubysig.h include file now gives a warning if inserted :
warning: #warning rubysig.h is obsolete
(in rbgtk.h, rbgobj_type.c)
- rb_thread_critical seems not to exist anymore. It is referred to in
rbgobj_type.c. I have included this line:
static VALUE rb_thread_critical=Qfalse;
which seems to work, but I have no idea if this is the right way to
solve the problem.
- rb_progname seems not to exist anymore. It is referred to in
rbgtkmain.c. I have no idea about how exactly to solve this issue,
too. What I did is to modify line
EXTERN VALUE rb_progname;
(around the beginning), and then, before rb_progname is used, I added
You will certainly know what is the right patch to apply
Thanks to you!