Bug #2640: signal code only needs slight changes to make Ruby compile on Haiku-os
http://redmine.ruby-lang.org/issues/show/2640

Author: Alexander von Gluck
Status: Open, Priority: Normal
ruby -v: 1.9.1

gcc -O2 -g -Wall -Wno-parentheses  -I. -I.ext/include/i586-haiku -I./include -I.  -DRUBY_EXPORT   -o signal.o -c signal.c
signal.c: In function 'sigsegv':
signal.c:593: error: 'info' undeclared (first use in this function)
signal.c:593: error: (Each undeclared identifier is reported only once
signal.c:593: error: for each function it appears in.)
make: *** [signal.o] Error 1

commenting out the sigsegv handling code lets ruby 1.9 compile successfully on Haiku-os.  This is not a valid solution but does show how close 1.9 is to running on the Haiku platform.


----------------------------------------
http://redmine.ruby-lang.org