mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
uClibc:
- update to uClibc-0.9.30.2-20091017
This commit is contained in:
parent
f1c8581820
commit
1a441e13e6
@ -1 +1,3 @@
|
||||
UCLIBC_MALLOC_DEBUGGING=y
|
||||
# DOSTRIP is not set
|
||||
SUPPORT_LD_DEBUG=y
|
@ -160,9 +160,9 @@ UCLIBC_HAS_CTYPE_SIGNED=y
|
||||
UCLIBC_HAS_CTYPE_CHECKED=y
|
||||
# UCLIBC_HAS_CTYPE_ENFORCED is not set
|
||||
UCLIBC_HAS_WCHAR=y
|
||||
UCLIBC_HAS_LOCALE=y
|
||||
# UCLIBC_HAS_LOCALE is not set
|
||||
# UCLIBC_PREGENERATED_LOCALE_DATA is not set
|
||||
UCLIBC_HAS_XLOCALE=y
|
||||
# UCLIBC_HAS_XLOCALE is not set
|
||||
# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
|
||||
# UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set
|
||||
# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
|
||||
|
@ -28,7 +28,7 @@
|
||||
# needed by dbus-glib
|
||||
cp $PKG_BUILD/lib/libnsl.so.0 $INSTALL/lib
|
||||
|
||||
[ "$DEBUG" = yes ] && cp $PKG_BUILD/lib/libthread_db.so.1 $INSTALL/lib
|
||||
[ "$DEVTOOLS" = yes ] && cp $PKG_BUILD/lib/libthread_db.so.1 $INSTALL/lib
|
||||
[ "$NETWORK" = yes ] && cp $PKG_BUILD/lib/libcrypt.so.0 $INSTALL/lib
|
||||
[ "$NETWORK" = yes ] && cp $PKG_BUILD/lib/libresolv.so.0 $INSTALL/lib
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/libc/inet/getaddrinfo.c
|
||||
+++ b/libc/inet/getaddrinfo.c
|
||||
@@ -187,6 +187,8 @@
|
||||
}
|
||||
|
||||
for (runp = ifa; runp != NULL; runp = runp->ifa_next) {
|
||||
+ if (runp->ifa_addr == NULL)
|
||||
+ continue;
|
||||
#if defined __UCLIBC_HAS_IPV4__
|
||||
if (runp->ifa_addr->sa_family == PF_INET)
|
||||
seen |= SEEN_IPV4;
|
@ -1,30 +0,0 @@
|
||||
diff -Naur uClibc-0.9.30.1/extra/scripts/unifdef.c uClibc-0.9.30.1.patch/extra/scripts/unifdef.c
|
||||
--- uClibc-0.9.30.1/extra/scripts/unifdef.c 2008-04-28 01:10:00.000000000 +0200
|
||||
+++ uClibc-0.9.30.1.patch/extra/scripts/unifdef.c 2009-04-06 13:19:01.225263004 +0200
|
||||
@@ -206,7 +206,7 @@
|
||||
static void error(const char *);
|
||||
static int findsym(const char *);
|
||||
static void flushline(bool);
|
||||
-static Linetype getline(void);
|
||||
+static Linetype get_line(void);
|
||||
static Linetype ifeval(const char **);
|
||||
static void ignoreoff(void);
|
||||
static void ignoreon(void);
|
||||
@@ -512,7 +512,7 @@
|
||||
|
||||
for (;;) {
|
||||
linenum++;
|
||||
- lineval = getline();
|
||||
+ lineval = get_line();
|
||||
trans_table[ifstate[depth]][lineval]();
|
||||
debug("process %s -> %s depth %d",
|
||||
linetype_name[lineval],
|
||||
@@ -526,7 +526,7 @@
|
||||
* help from skipcomment().
|
||||
*/
|
||||
static Linetype
|
||||
-getline(void)
|
||||
+get_line(void)
|
||||
{
|
||||
const char *cp;
|
||||
int cursym;
|
@ -1,48 +0,0 @@
|
||||
diff -Naur uClibc-0.9.30.1/libc/sysdeps/linux/common/ppoll.c uClibc-0.9.30.1.patch/libc/sysdeps/linux/common/ppoll.c
|
||||
--- uClibc-0.9.30.1/libc/sysdeps/linux/common/ppoll.c 2008-10-24 10:34:31.000000000 +0200
|
||||
+++ uClibc-0.9.30.1.patch/libc/sysdeps/linux/common/ppoll.c 2009-08-15 18:32:11.166479655 +0200
|
||||
@@ -17,6 +17,7 @@
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
+#include <signal.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/poll.h>
|
||||
|
||||
@@ -24,26 +25,19 @@
|
||||
|
||||
libc_hidden_proto(ppoll)
|
||||
|
||||
-# define __NR___libc_ppoll __NR_ppoll
|
||||
-static __always_inline
|
||||
-_syscall4(int, __libc_ppoll, struct pollfd *, fds,
|
||||
- nfds_t, nfds, const struct timespec *, timeout,
|
||||
- const __sigset_t *, sigmask)
|
||||
-
|
||||
int
|
||||
-ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
|
||||
- const __sigset_t *sigmask)
|
||||
+ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
|
||||
+ const sigset_t *sigmask)
|
||||
{
|
||||
- /* The Linux kernel can in some situations update the timeout value.
|
||||
- We do not want that so use a local variable. */
|
||||
- struct timespec tval;
|
||||
- if (timeout != NULL)
|
||||
- {
|
||||
- tval = *timeout;
|
||||
- timeout = &tval;
|
||||
- }
|
||||
+ /* The Linux kernel can in some situations update the timeout value.
|
||||
+ We do not want that so use a local variable. */
|
||||
+ struct timespec tval;
|
||||
+ if (timeout != NULL) {
|
||||
+ tval = *timeout;
|
||||
+ timeout = &tval;
|
||||
+ }
|
||||
|
||||
- return __libc_ppoll(fds, nfds, timeout, sigmask);
|
||||
+ return INLINE_SYSCALL(ppoll, 5, fds, nfds, timeout, sigmask, _NSIG / 8);
|
||||
}
|
||||
libc_hidden_def(ppoll)
|
||||
|
@ -0,0 +1,10 @@
|
||||
diff -Naur uClibc-0.9.30.2-20091017/libc/string/strlcpy.c uClibc-0.9.30.2-20091017.patch/libc/string/strlcpy.c
|
||||
--- uClibc-0.9.30.2-20091017/libc/string/strlcpy.c 2009-10-16 11:41:34.000000000 +0200
|
||||
+++ uClibc-0.9.30.2-20091017.patch/libc/string/strlcpy.c 2009-10-19 00:01:37.991090010 +0200
|
||||
@@ -59,6 +59,5 @@
|
||||
#else
|
||||
#ifndef __UCLIBC_HAS_LOCALE__
|
||||
strong_alias(__wcslcpy,wcsxfrm)
|
||||
-libc_hidden_def(wcsxfrm)
|
||||
#endif
|
||||
#endif
|
@ -1 +1 @@
|
||||
http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2
|
||||
http://sources.openelec.tv/svn/uClibc-0.9.30.2-20091017.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user