summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches/170-enable-getifaddrs.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-21 14:32:21 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-21 14:32:21 +0000
commit782cc4f1adf0f2c91cddb14f56aa2f7c8d69a2d2 (patch)
tree73ea574027449d0abf313572da093c08d87f01a0 /toolchain/uClibc/patches/170-enable-getifaddrs.patch
parente570388548d1eeaf6bac7ad4957e2a5c686bbad4 (diff)
uClibc: refresh patches for uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches/170-enable-getifaddrs.patch')
-rw-r--r--toolchain/uClibc/patches/170-enable-getifaddrs.patch17
1 files changed, 5 insertions, 12 deletions
diff --git a/toolchain/uClibc/patches/170-enable-getifaddrs.patch b/toolchain/uClibc/patches/170-enable-getifaddrs.patch
index da393feba9..5b0d4fc536 100644
--- a/toolchain/uClibc/patches/170-enable-getifaddrs.patch
+++ b/toolchain/uClibc/patches/170-enable-getifaddrs.patch
@@ -1,7 +1,5 @@
-Index: uclibc/libc/inet/ifaddrs.c
-===================================================================
---- uclibc.orig/libc/inet/ifaddrs.c
-+++ uclibc/libc/inet/ifaddrs.c
+--- a/libc/inet/ifaddrs.c
++++ b/libc/inet/ifaddrs.c
@@ -38,6 +38,7 @@
#include <unistd.h>
@@ -61,10 +59,8 @@ Index: uclibc/libc/inet/ifaddrs.c
-#endif /* unused code */
-
#endif /* __ASSUME_NETLINK_SUPPORT */
-Index: uclibc/libc/inet/netlinkaccess.h
-===================================================================
---- uclibc.orig/libc/inet/netlinkaccess.h
-+++ uclibc/libc/inet/netlinkaccess.h
+--- a/libc/inet/netlinkaccess.h
++++ b/libc/inet/netlinkaccess.h
@@ -61,14 +61,11 @@ struct netlink_handle
};
@@ -80,10 +76,8 @@ Index: uclibc/libc/inet/netlinkaccess.h
extern int __netlink_open (struct netlink_handle *h) attribute_hidden;
extern void __netlink_close (struct netlink_handle *h) attribute_hidden;
-Index: uclibc/include/ifaddrs.h
-===================================================================
--- /dev/null
-+++ uclibc/include/ifaddrs.h
++++ b/include/ifaddrs.h
@@ -0,0 +1,74 @@
+/* ifaddrs.h -- declarations for getting network interface addresses
+ Copyright (C) 2002 Free Software Foundation, Inc.
@@ -159,4 +153,3 @@ Index: uclibc/include/ifaddrs.h
+__END_DECLS
+
+#endif /* ifaddrs.h */
-