aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-12-31 13:31:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-12-31 13:31:48 +0000
commit415a070cd22b9110a06dddb27daff266e96f1302 (patch)
tree8b5f67a097bad82e81a42d60b30a9fc3a7106daa
parent3c307b30a836d2c1a17af20ce205f572c1a75c65 (diff)
downloadupstream-415a070cd22b9110a06dddb27daff266e96f1302.tar.gz
upstream-415a070cd22b9110a06dddb27daff266e96f1302.tar.bz2
upstream-415a070cd22b9110a06dddb27daff266e96f1302.zip
Fix sockets.h for mips/mipsel
SVN-Revision: 10066
-rw-r--r--toolchain/uClibc/patches/130-sockets_throw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/130-sockets_throw.patch b/toolchain/uClibc/patches/130-sockets_throw.patch
new file mode 100644
index 0000000000..4072804e47
--- /dev/null
+++ b/toolchain/uClibc/patches/130-sockets_throw.patch
@@ -0,0 +1,12 @@
+diff -urN uClibc-0.9.29/libc/sysdeps/linux/mips/bits/socket.h uClibc-0.9.29.new/libc/sysdeps/linux/mips/bits/socket.h
+--- uClibc-0.9.29/libc/sysdeps/linux/mips/bits/socket.h 2006-12-06 22:46:56.000000000 +0100
++++ uClibc-0.9.29.new/libc/sysdeps/linux/mips/bits/socket.h 2007-12-31 14:25:29.000000000 +0100
+@@ -269,7 +269,7 @@
+ #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
+
+ extern struct cmsghdr * __NTH (__cmsg_nxthdr (struct msghdr *__mhdr,
+- struct cmsghdr *__cmsg)) __THROW;
++ struct cmsghdr *__cmsg));
+ #ifdef __USE_EXTERN_INLINES
+ # ifndef _EXTERN_INLINE
+ # define _EXTERN_INLINE extern __inline