summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-21 11:45:32 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-21 11:45:32 +0000
commita271aaa2dbe04f5ae79b9b5783def34b51c9cd82 (patch)
tree0d9a8c99947dad008b621549da83fc9cf0c13df8 /toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch
parented4d79b529ee917418e48c3097796e46850502a1 (diff)
downloadmtk-20170518-a271aaa2dbe04f5ae79b9b5783def34b51c9cd82.zip
mtk-20170518-a271aaa2dbe04f5ae79b9b5783def34b51c9cd82.tar.gz
mtk-20170518-a271aaa2dbe04f5ae79b9b5783def34b51c9cd82.tar.bz2
add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
SVN-Revision: 14130
Diffstat (limited to 'toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch')
-rw-r--r--toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch b/toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch
new file mode 100644
index 0000000..4072804
--- /dev/null
+++ b/toolchain/uClibc/patches/0.9.30/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