summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/package.mk2
-rw-r--r--mk/pkg-bottom.mk2
-rw-r--r--package/gcc/Makefile1
-rw-r--r--package/grep/Makefile7
-rw-r--r--package/libvirt/Makefile2
-rw-r--r--package/setserial/patches/patch-setserial_c132
-rw-r--r--target/alix1c/kernel.config8
-rw-r--r--toolchain/uClibc/Makefile.inc4
-rw-r--r--toolchain/uClibc/patches/devel-prefix-lib.patch14
-rw-r--r--toolchain/uClibc/patches/fastat-64bithost.patch79
-rw-r--r--toolchain/uClibc/patches/mips.patch66
-rw-r--r--toolchain/uClibc/patches/mips64.patch22
-rw-r--r--toolchain/uClibc/patches/sparc.patch26
13 files changed, 154 insertions, 211 deletions
diff --git a/mk/package.mk b/mk/package.mk
index f397974d8..6c58d4d4e 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -216,7 +216,7 @@ endif
-exec echo 'WARNING: $${IPKG_$(1)} installs files in /lib -' \
' fix this!' >&2 \; -quit 2>/dev/null; fi; \
find usr ! -type d 2>/dev/null | \
- grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \
+ grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' -e '^usr/lib/libc.so' | \
tee '$${STAGING_PARENT}/pkg/$(1)' | \
cpio -padlmu '$${STAGING_DIR}'
@cd '$${STAGING_DIR}'; grep 'usr/lib/.*\.la$$$$' \
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index d78cc5876..466a4c398 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -164,7 +164,7 @@ endif
-exec echo 'WARNING: ${PKG_NAME} installs files in /lib -' \
' fix this!' >&2 \; -quit 2>/dev/null; fi;\
find usr ! -type d 2>/dev/null | \
- grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \
+ grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' -e '^usr/lib/libc.so' | \
tee '${STAGING_PARENT}/pkg/${PKG_NAME}' | \
cpio -padlmu '${STAGING_DIR}'
@cd '${STAGING_DIR}'; grep 'usr/lib/.*\.la$$' \
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 4de63c4f7..b77895f5b 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -24,6 +24,7 @@ PKG_BUILDDEP+= glibc
endif
PKG_HOST_DEPENDS:= !freebsd
+PKG_TARGET_DEPENDS:= !ag241
include ${TOPDIR}/mk/package.mk
diff --git a/package/grep/Makefile b/package/grep/Makefile
index 6f2eba00e..f54894811 100644
--- a/package/grep/Makefile
+++ b/package/grep/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= grep
PKG_VERSION:= 2.5.4
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 92258031d98d4f12dfc6a6d24057e672
PKG_DESCR:= global search for a regular expression and print out matched lines
PKG_SECTION:= text
@@ -16,9 +16,10 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ARGS+= --without-included-regex
+
post-install:
$(INSTALL_DIR) $(IDIR_GREP)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/grep \
- $(IDIR_GREP)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/grep $(IDIR_GREP)/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile
index 93ffba48e..662337ebe 100644
--- a/package/libvirt/Makefile
+++ b/package/libvirt/Makefile
@@ -15,7 +15,7 @@ PKG_URL:= http://www.libvirt.org/
PKG_SITES:= ftp://libvirt.org/libvirt/
PKG_HOST_DEPENDS:= !freebsd !netbsd !openbsd
-PKG_TARGET_DEPENDS:= !foxboard
+PKG_TARGET_DEPENDS:= x86 x86_64
include ${TOPDIR}/mk/package.mk
diff --git a/package/setserial/patches/patch-setserial_c b/package/setserial/patches/patch-setserial_c
index ec2cb3c84..2c61e8933 100644
--- a/package/setserial/patches/patch-setserial_c
+++ b/package/setserial/patches/patch-setserial_c
@@ -1,5 +1,5 @@
--- setserial-2.17.orig/setserial.c 2000-01-27 16:40:52.000000000 +0100
-+++ setserial-2.17/setserial.c 2010-03-05 17:42:26.316553683 +0100
++++ setserial-2.17/setserial.c 2010-03-12 17:34:40.961901844 +0100
@@ -11,6 +11,7 @@
*/
@@ -8,3 +8,133 @@
#include <fcntl.h>
#include <termios.h>
#include <string.h>
+@@ -19,9 +20,6 @@
+ #ifdef HAVE_ASM_IOCTLS_H
+ #include <asm/ioctls.h>
+ #endif
+-#ifdef HAVE_LINUX_HAYESESP_H
+-#include <linux/hayesesp.h>
+-#endif
+ #include <linux/serial.h>
+
+ #include "version.h"
+@@ -118,14 +116,6 @@ struct flag_type_table {
+ CMD_CONFIG, "autoconfigure",0, 0, 0, 0,
+ CMD_GETMULTI, "get_multiport",0, 0, 0, 0,
+ CMD_SETMULTI, "set_multiport",0, 0, 0, 0,
+-#ifdef TIOCGHAYESESP
+- CMD_RX_TRIG, "rx_trigger", 0, 0, 0, FLAG_NEED_ARG,
+- CMD_TX_TRIG, "tx_trigger", 0, 0, 0, FLAG_NEED_ARG,
+- CMD_FLOW_OFF, "flow_off", 0, 0, 0, FLAG_NEED_ARG,
+- CMD_FLOW_ON, "flow_on", 0, 0, 0, FLAG_NEED_ARG,
+- CMD_RX_TMOUT, "rx_timeout", 0, 0, 0, FLAG_NEED_ARG,
+- CMD_DMA_CHAN, "dma_channel", 0, 0, 0, FLAG_NEED_ARG,
+-#endif
+ 0, 0, 0, 0, 0, 0,
+ };
+
+@@ -356,62 +346,6 @@ void set_multiport(char *device, int fd,
+ }
+ #endif
+
+-#ifdef TIOCGHAYESESP
+-void print_hayesesp(int fd)
+-{
+- struct hayes_esp_config esp;
+-
+- if (ioctl(fd, TIOCGHAYESESP, &esp) < 0)
+- return;
+-
+- printf("\tHayes ESP enhanced mode configuration:\n");
+- printf("\t\tRX trigger level: %d, TX trigger level: %d\n",
+- (int)esp.rx_trigger, (int)esp.tx_trigger);
+- printf("\t\tFlow off level: %d, Flow on level: %d\n",
+- (int)esp.flow_off, (int)esp.flow_on);
+- printf("\t\tRX timeout: %u, DMA channel: %d\n\n",
+- (unsigned int)esp.rx_timeout, (int)esp.dma_channel);
+-}
+-
+-void set_hayesesp(int fd, int cmd, int arg)
+-{
+- struct hayes_esp_config esp;
+-
+- if (ioctl(fd, TIOCGHAYESESP, &esp) < 0) {
+- printf("\nError: rx_trigger, tx_trigger, flow_off, "
+- "flow_on, rx_timeout, and dma_channel\n"
+- "are only valid for Hayes ESP ports.\n\n");
+- exit(1);
+- }
+-
+- switch (cmd) {
+- case CMD_RX_TRIG:
+- esp.rx_trigger = arg;
+- break;
+- case CMD_TX_TRIG:
+- esp.tx_trigger = arg;
+- break;
+- case CMD_FLOW_OFF:
+- esp.flow_off = arg;
+- break;
+- case CMD_FLOW_ON:
+- esp.flow_on = arg;
+- break;
+- case CMD_RX_TMOUT:
+- esp.rx_timeout = arg;
+- break;
+- case CMD_DMA_CHAN:
+- esp.dma_channel = arg;
+- break;
+- }
+-
+- if (ioctl(fd, TIOCSHAYESESP, &esp) < 0) {
+- printf("Cannot set Hayes ESP info\n");
+- exit(1);
+- }
+-}
+-#endif
+-
+ void get_serial(char *device)
+ {
+ struct serial_struct serinfo;
+@@ -453,9 +387,6 @@ void get_serial(char *device)
+ print_flags(&serinfo, "\tFlags: ", "");
+ printf("\n\n");
+
+-#ifdef TIOCGHAYESESP
+- print_hayesesp(fd);
+-#endif
+ } else if (verbosity==0) {
+ if (serinfo.type) {
+ printf("%s at 0x%.4x (irq = %d) is a %s",
+@@ -593,16 +524,6 @@ void set_serial(char *device, char ** ar
+ }
+ set_multiport(device, fd, &arg);
+ break;
+-#ifdef TIOCGHAYESESP
+- case CMD_RX_TRIG:
+- case CMD_TX_TRIG:
+- case CMD_FLOW_OFF:
+- case CMD_FLOW_ON:
+- case CMD_RX_TMOUT:
+- case CMD_DMA_CHAN:
+- set_hayesesp(fd, p->cmd, atonum(*arg++));
+- break;
+-#endif
+ default:
+ fprintf(stderr, "Internal error: unhandled cmd #%d\n", p->cmd);
+ exit(1);
+@@ -692,14 +613,6 @@ fprintf(stderr, "\t* port\t\tset the I/O
+ fprintf(stderr, "\t get_multiport\tDisplay the multiport configuration\n");
+ fprintf(stderr, "\t set_multiport\tSet the multiport configuration\n");
+ fprintf(stderr, "\n");
+-#ifdef TIOCGHAYESESP
+- fprintf(stderr, "\t* rx_trigger\tSet RX trigger level (ESP-only)\n");
+- fprintf(stderr, "\t* tx_trigger\tSet TX trigger level (ESP-only)\n");
+- fprintf(stderr, "\t* flow_off\tSet hardware flow off level (ESP-only)\n");
+- fprintf(stderr, "\t* flow_on\tSet hardware flow on level (ESP-only)\n");
+- fprintf(stderr, "\t* rx_timeout\tSet receive timeout (ESP-only)\n");
+- fprintf(stderr, "\t* dma_channel\tSet DMA channel (ESP-only)\n");
+-#endif
+ fprintf(stderr, "\n");
+ fprintf(stderr, "\t spd_hi\tuse 56kb instead of 38.4kb\n");
+ fprintf(stderr, "\t spd_vhi\tuse 115kb instead of 38.4kb\n");
diff --git a/target/alix1c/kernel.config b/target/alix1c/kernel.config
index f51eec9a9..b88ea2b85 100644
--- a/target/alix1c/kernel.config
+++ b/target/alix1c/kernel.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.33
-# Sat Feb 27 10:02:09 2010
+# Sun Mar 14 12:49:26 2010
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@@ -683,7 +683,11 @@ CONFIG_VIA_RHINE_MMIO=y
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set
-# CONFIG_WLAN is not set
+CONFIG_WLAN=y
+# CONFIG_AIRO is not set
+# CONFIG_ATMEL is not set
+# CONFIG_PRISM54 is not set
+# CONFIG_HOSTAP is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers
diff --git a/toolchain/uClibc/Makefile.inc b/toolchain/uClibc/Makefile.inc
index 1ffcde868..f02b99e1a 100644
--- a/toolchain/uClibc/Makefile.inc
+++ b/toolchain/uClibc/Makefile.inc
@@ -2,8 +2,8 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= uClibc
-PKG_VERSION:= 0.9.30.2
+PKG_VERSION:= 0.9.30.3
PKG_RELEASE:= 1
-PKG_MD5SUM:= e759ec855500082ac3e671dd6cacfdb0
+PKG_MD5SUM:= 73a4bf4a0fa508b01a7a3143574e3d21
PKG_SITES:= http://uclibc.org/downloads/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/toolchain/uClibc/patches/devel-prefix-lib.patch b/toolchain/uClibc/patches/devel-prefix-lib.patch
index b0f8a8011..336fad1c7 100644
--- a/toolchain/uClibc/patches/devel-prefix-lib.patch
+++ b/toolchain/uClibc/patches/devel-prefix-lib.patch
@@ -1,6 +1,6 @@
-diff -Nur uClibc-0.9.30.1.orig/Makefile.in uClibc-0.9.30.1/Makefile.in
---- uClibc-0.9.30.1.orig/Makefile.in 2008-11-17 23:38:34.000000000 +0100
-+++ uClibc-0.9.30.1/Makefile.in 2009-12-07 20:34:07.000000000 +0100
+diff -Nur uClibc-0.9.30.3.orig/Makefile.in uClibc-0.9.30.3/Makefile.in
+--- uClibc-0.9.30.3.orig/Makefile.in 2010-03-12 20:32:42.000000000 +0100
++++ uClibc-0.9.30.3/Makefile.in 2010-03-12 22:05:15.486918488 +0100
@@ -190,7 +190,7 @@
install: install_runtime install_dev
@@ -8,12 +8,12 @@ diff -Nur uClibc-0.9.30.1.orig/Makefile.in uClibc-0.9.30.1/Makefile.in
-RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
+RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX_LIB)lib $(RUNTIME_PREFIX)lib)
- $(top_builddir)extra/scripts/unifdef: $(top_srcdir)extra/scripts/unifdef.c
+ $(top_builddir)extra/scripts/unifdef: $(top_srcdir)extra/scripts/unifdef.c|$(@D)
$(hcompile.u)
-@@ -370,41 +370,41 @@
+@@ -371,41 +371,41 @@
# Installs development library links.
- install_dev: install_headers all
+ install_dev: install_headers install_runtime
- $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
- -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
+ $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX_LIB)lib
@@ -64,7 +64,7 @@ diff -Nur uClibc-0.9.30.1.orig/Makefile.in uClibc-0.9.30.1/Makefile.in
| $(SED) -e 's/\.a$$/_pic.a/'`; \
done ; \
fi
-@@ -413,9 +413,9 @@
+@@ -414,9 +414,9 @@
ifeq ($(UCLIBC_FORMAT_SHARED_FLAT),y)
for file in lib/lib*.gdb; do \
if test -f $$file; then \
diff --git a/toolchain/uClibc/patches/fastat-64bithost.patch b/toolchain/uClibc/patches/fastat-64bithost.patch
deleted file mode 100644
index dee068d00..000000000
--- a/toolchain/uClibc/patches/fastat-64bithost.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat64.c uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat64.c
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat64.c 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat64.c 2010-01-23 11:55:14.000000000 +0100
-@@ -12,6 +12,11 @@
-
- #ifdef __UCLIBC_HAS_LFS__
-
-+/* 64bit ports tend to favor newfstatat() */
-+#ifdef __NR_newfstatat
-+# define __NR_fstatat64 __NR_newfstatat
-+#endif
-+
- #ifdef __NR_fstatat64
- int fstatat64(int fd, const char *file, struct stat64 *buf, int flag)
- {
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat.c uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat.c
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat.c 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat.c 2010-01-23 11:54:50.000000000 +0100
-@@ -10,15 +10,20 @@
- #include <sys/stat.h>
- #include "xstatconv.h"
-
-+/* 64bit ports tend to favor newfstatat() */
-+#ifdef __NR_newfstatat
-+# define __NR_fstatat64 __NR_newfstatat
-+#endif
-+
- #ifdef __NR_fstatat64
- int fstatat(int fd, const char *file, struct stat *buf, int flag)
- {
- int ret;
-- struct kernel_stat kbuf;
-+ struct kernel_stat64 kbuf;
-
- ret = INLINE_SYSCALL(fstatat64, 4, fd, file, &kbuf, flag);
- if (ret == 0)
-- __xstat_conv(&kbuf, buf);
-+ __xstat32_conv(&kbuf, buf);
-
- return ret;
- }
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.c uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.c
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.c 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.c 2010-01-23 11:56:07.000000000 +0100
-@@ -70,4 +70,23 @@
- buf->st_ctim = kbuf->st_ctim;
- }
-
-+void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf)
-+{
-+ /* Convert to current kernel version of `struct stat64'. */
-+ memset(buf, 0x00, sizeof(*buf));
-+ buf->st_dev = kbuf->st_dev;
-+ buf->st_ino = kbuf->st_ino;
-+ buf->st_mode = kbuf->st_mode;
-+ buf->st_nlink = kbuf->st_nlink;
-+ buf->st_uid = kbuf->st_uid;
-+ buf->st_gid = kbuf->st_gid;
-+ buf->st_rdev = kbuf->st_rdev;
-+ buf->st_size = kbuf->st_size;
-+ buf->st_blksize = kbuf->st_blksize;
-+ buf->st_blocks = kbuf->st_blocks;
-+ buf->st_atim = kbuf->st_atim;
-+ buf->st_mtim = kbuf->st_mtim;
-+ buf->st_ctim = kbuf->st_ctim;
-+}
-+
- #endif /* __UCLIBC_HAS_LFS__ */
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.h uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.h
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.h 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.h 2010-01-23 11:56:38.000000000 +0100
-@@ -26,6 +26,7 @@
- #include <bits/kernel_stat.h>
-
- extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden;
-+extern void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) attribute_hidden;
- #if defined __UCLIBC_HAS_LFS__
- extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) attribute_hidden;
- #endif
diff --git a/toolchain/uClibc/patches/mips.patch b/toolchain/uClibc/patches/mips.patch
deleted file mode 100644
index 59bf5963c..000000000
--- a/toolchain/uClibc/patches/mips.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/mips/crt1.S uClibc-0.9.30.2/libc/sysdeps/linux/mips/crt1.S
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/mips/crt1.S 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/mips/crt1.S 2010-01-24 20:33:06.297867491 +0100
-@@ -85,29 +85,10 @@
-
- __start:
- #ifdef __PIC__
--#if _MIPS_SIM == _MIPS_SIM_ABI32
-- .frame sp, 24, sp
-- .set noreorder
-- move $0, $31 /* Save old ra. */
-- bal 10f /* Find addr of cpload. */
-- nop
--10:
-- .cpload $31
-- move $31, $0
-- .set reorder
-- .cprestore 16
--#else
-- move $0, $31; /* Save old ra. */
-- .set noreorder
-- bal 10f /* Find addr of .cpsetup. */
-- nop
--10:
-- .set reorder
-- .cpsetup $31, $25, 10b
-- move $31, $0
--#endif
-+ SETUP_GPX($0)
-+ SETUP_GPX64($25,$0)
- #else
-- la $28, _gp /* Setup GP correctly if we're non-PIC. */
-+ PTR_LA $28, _gp /* Setup GP correctly if we're non-PIC. */
- move $31, $0
- #endif
-
-@@ -118,18 +99,18 @@
- /* Allocate space on the stack for seven arguments and
- * make sure the stack is aligned to double words (8 bytes) */
-
-+ and $29, -2 * SZREG
-+
- #if _MIPS_SIM == _MIPS_SIM_ABI32
-- and $29, -2 * 4
-- subu $29, 32
-- la $7, _init /* init */
-- la $8, _fini
-- sw $8, 16($29) /* fini */
-- sw $2, 20($29) /* rtld_fini */
-- sw $29, 24($29) /* stack_end */
--#else
-- and $29, -2 * PTRSIZE
-+ PTR_SUBIU $29, 32
-+#endif
- PTR_LA $7, _init /* init */
-- PTR_LA $8, _fini /* fini */
-+ PTR_LA $8, _fini
-+#if _MIPS_SIM == _MIPS_SIM_ABI32
-+ PTR_S $8, 16($29) /* fini */
-+ PTR_S $2, 20($29) /* rtld_fini */
-+ PTR_S $29, 24($29) /* stack_end */
-+#else
- move $9, $2 /* rtld_fini */
- move $10, $29 /* stack_end */
- #endif
--
diff --git a/toolchain/uClibc/patches/mips64.patch b/toolchain/uClibc/patches/mips64.patch
deleted file mode 100644
index fd2135a48..000000000
--- a/toolchain/uClibc/patches/mips64.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c 2010-02-03 20:21:34.000000000 +0100
-@@ -136,9 +136,6 @@
- return (char *) dp - buf;
- }
-
--#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
--attribute_hidden strong_alias(__getdents,__getdents64)
--#endif
-
- #elif __WORDSIZE == 32
-
-@@ -171,4 +168,8 @@
- }
- #endif
-
-+#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
-+attribute_hidden strong_alias(__getdents,__getdents64)
-+#endif
-+
- #endif
diff --git a/toolchain/uClibc/patches/sparc.patch b/toolchain/uClibc/patches/sparc.patch
deleted file mode 100644
index bcf5b5fd8..000000000
--- a/toolchain/uClibc/patches/sparc.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/sparc/sigaction.c uClibc-0.9.30.2/libc/sysdeps/linux/sparc/sigaction.c
---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/sparc/sigaction.c 2010-01-13 22:22:31.000000000 +0100
-+++ uClibc-0.9.30.2/libc/sysdeps/linux/sparc/sigaction.c 2010-02-14 12:10:52.000000000 +0100
-@@ -34,7 +34,8 @@
- static void __rt_sigreturn_stub(void);
- static void __sigreturn_stub(void);
-
--int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
-+libc_hidden_proto(sigaction)
-+int sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
- {
- int ret;
- struct sigaction kact, koact;
-@@ -65,10 +66,8 @@
- return ret;
- }
-
--#ifndef LIBC_SIGACTION
--weak_alias(__libc_sigaction,sigaction)
--libc_hidden_weak(sigaction)
--#endif
-+libc_hidden_def(sigaction)
-+weak_alias(sigaction,__libc_sigaction)
-
- static void
- __rt_sigreturn_stub(void)