From 0bbb4c4f6665814ce6d2fdd6ab32e0a0df479215 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 31 Dec 2007 13:31:48 +0000 Subject: [PATCH] Fix sockets.h for mips/mipsel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10066 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/uClibc/patches/130-sockets_throw.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 toolchain/uClibc/patches/130-sockets_throw.patch diff --git a/toolchain/uClibc/patches/130-sockets_throw.patch b/toolchain/uClibc/patches/130-sockets_throw.patch new file mode 100644 index 000000000..4072804e4 --- /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 -- 2.20.1