eglibc: update to eglibc-2.12-12297, remove unneeded patch, add patch from minimyth

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-15 02:25:33 +01:00
parent c53ac7a3b4
commit d03614f279
4 changed files with 24 additions and 13 deletions

View File

@ -1,5 +1,5 @@
PKG_NAME="eglibc"
PKG_VERSION="2.12-12025"
PKG_VERSION="2.12-12297"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -1,12 +0,0 @@
--- glibc-2.9/configure.in~ 2008-11-14 21:25:46.000000000 +0200
+++ glibc-2.9/configure.in 2009-01-05 18:03:46.169335285 +0200
@@ -1664,7 +1664,7 @@
libc_cv_gnu89_inline=no
fi
rm -f conftest*])
-if test $libc_cv_gnu89_inline = yes; then
+if test "$libc_cv_gnu89_inline" != no; then
libc_cv_gnu89_inline=-fgnu89-inline
else
libc_cv_gnu89_inline=

View File

@ -0,0 +1,23 @@
diff -Naur glibc-2.12.2-old/misc/sys/select.h glibc-2.12.2-new/misc/sys/select.h
--- glibc-2.12.2-old/misc/sys/select.h 2010-12-13 02:47:26.000000000 -0800
+++ glibc-2.12.2-new/misc/sys/select.h 2010-12-13 17:46:02.000000000 -0800
@@ -52,7 +52,7 @@
/* The fd_set member is required to be an array of longs. */
-typedef long int __fd_mask;
+typedef unsigned long int __fd_mask;
/* Some versions of <linux/posix_types.h> define these macros. */
#undef __NFDBITS
@@ -60,8 +60,8 @@
#undef __FDMASK
/* It's easier to assume 8-bit bytes than to get CHAR_BIT. */
#define __NFDBITS (8 * (int) sizeof (__fd_mask))
-#define __FDELT(d) ((d) / __NFDBITS)
-#define __FDMASK(d) ((__fd_mask) 1 << ((d) % __NFDBITS))
+#define __FDELT(d) (((unsigned long int)d) / __NFDBITS)
+#define __FDMASK(d) ((__fd_mask) 1 << (((unsigned long int)d) % __NFDBITS))
/* fd_set for select and pselect. */
typedef struct