summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-21 11:45:32 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-21 11:45:32 +0000
commit4f14cc665777120194de73302510657cefc75959 (patch)
tree91b0bb7e56d88f6d86b87769af96bed3537e82fa /toolchain/uClibc/patches/0.9.30/130-sockets_throw.patch
parent572f8170e9b4970087739d0bd40258afeb4dda70 (diff)
[toolchain] add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14130 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..4072804e47
--- /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