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:
40
lang/ruby/patches/400-uClibc_stdio.patch
Normal file
40
lang/ruby/patches/400-uClibc_stdio.patch
Normal 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>
|
||||
],
|
Reference in New Issue
Block a user