update ruby to 1.8.6-p36 (closes: #2254), add uClibc stdio fix (closes: #2286), replace menu with a 'Ruby' submenu, rename rubylibs to ruby-core and split it in subpackages, rename ruby-testrb to ruby-unit and libruby-nkf to ruby-nkf

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8985 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2007-09-23 17:51:00 +00:00
parent 8433fada0c
commit 13ab2bd76a
2 changed files with 349 additions and 66 deletions

View File

@ -0,0 +1,40 @@
diff --exclude '*~' -uNr ruby-1.8.6-p36.orig/configure ruby-1.8.6-p36/configure
--- ruby-1.8.6-p36.orig/configure 2007-06-08 09:51:42.000000000 +0100
+++ ruby-1.8.6-p36/configure 2007-08-29 09:44:29.000000000 +0100
@@ -14957,7 +14957,7 @@
if test "${rb_cv_frptr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- for frptr in _IO_read_ptr _ptr __ptr bufpos _p ; do
+ for frptr in _IO_read_ptr _ptr __ptr bufpos _p __bufpos ; do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -15020,7 +15020,7 @@
if test "${rb_cv_frend+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- for frend in _IO_read_end bufread ; do
+ for frend in _IO_read_end bufread __bufread ; do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
diff --exclude '*~' -uNr ruby-1.8.6-p36.orig/configure.in ruby-1.8.6-p36/configure.in
--- ruby-1.8.6-p36.orig/configure.in 2007-05-22 19:19:07.000000000 +0100
+++ ruby-1.8.6-p36/configure.in 2007-08-29 09:42:47.000000000 +0100
@@ -707,6 +707,7 @@
__ptr dnl
bufpos dnl
_p dnl
+ __bufpos dnl
; do
AC_TRY_COMPILE([#include <stdio.h>
],
@@ -726,6 +727,7 @@
[for frend in dnl
_IO_read_end dnl
bufread dnl
+ __bufread dnl
; do
AC_TRY_COMPILE([#include <stdio.h>
],