  # ifndef HAVE_LANGINFO_H
  #  define HAVE_LANGINFO_H
 diff -up ruby-1.9.1-p243/ext/openssl/ossl.c.orig ruby-1.9.1-p243/ext/openssl/ossl.c
---- ruby-1.9.1-p243/ext/openssl/ossl.c.orig	2009-01-15 08:39:30.047448064 -0700
-+++ ruby-1.9.1-p243/ext/openssl/ossl.c	2010-04-18 22:57:15.778305536 -0600
+--- ruby-1.9.1-p243/ext/openssl/ossl.c.orig	2009-01-15 08:39:30.060293120 -0700
++++ ruby-1.9.1-p243/ext/openssl/ossl.c	2010-05-17 23:44:05.643301376 -0600
 @@ -92,7 +92,7 @@ ossl_x509_ary2sk(VALUE ary)
  
  #define OSSL_IMPL_SK2ARY(name, type)	        \

diff -up ruby-1.9.1-p243/ChangeLog.orig ruby-1.9.1-p243/ChangeLog
diff -up ruby-1.9.1-p243/configure.in.orig ruby-1.9.1-p243/configure.in
--- ruby-1.9.1-p243/configure.in.orig	2009-05-11 09:06:48.039321600 -0600
+++ ruby-1.9.1-p243/configure.in	2010-04-18 22:19:16.236716032 -0600
@@ -1466,7 +1466,7 @@ if test "$with_dln_a_out" != yes; then
                             ;;
 			  i586*)
 			    : ${LDSHARED="ld -shared"}
-			    DLDFLAGS="$DLDFLAGS -L/boot/develop/lib/x86 -lbe -lroot"
+			    DLDFLAGS="$DLDFLAGS -L/boot/develop/lib/x86 -lbe -lroot -L/boot/common/lib"
 			    ;;
 			esac
 			: ${LIBPATHENV=LIBRARY_PATH}
diff -up ruby-1.9.1-p243/signal.c.orig ruby-1.9.1-p243/signal.c
--- ruby-1.9.1-p243/signal.c.orig	2009-02-22 02:48:12.003932160 -0700
+++ ruby-1.9.1-p243/signal.c	2010-04-18 22:19:16.291766272 -0600
@@ -34,7 +34,7 @@ typedef int rb_atomic_t;
 # define ATOMIC_DEC(var) (--(var))
 #endif

     NORETURN(void ruby_thread_stack_overflow(rb_thread_t *th));
     rb_thread_t *th = GET_THREAD();
diff -up ruby-1.9.1-p243/ext/nkf/nkf-utf8/nkf.h.orig ruby-1.9.1-p243/ext/nkf/nkf-utf8/nkf.h
--- ruby-1.9.1-p243/ext/nkf/nkf-utf8/nkf.h.orig	2008-11-11 01:41:20.057671680 -0700
+++ ruby-1.9.1-p243/ext/nkf/nkf-utf8/nkf.h	2010-05-17 23:44:05.639631360 -0600
@@ -164,6 +164,11 @@ void  setbinmode(FILE *fp)
 # ifndef HAVE_LOCALE_H
 #  define HAVE_LOCALE_H
