From ccfa4a7af6c49dd72a541f25568e1ab561002aa7 Mon Sep 17 00:00:00 2001 From: Tim Yardley Date: Mon, 5 Mar 2007 01:38:44 +0000 Subject: trunk.. same deal as changeset:6526 SVN-Revision: 6527 --- .../patches/03-linux_2.6.19_rtnetlink_changes.diff | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff (limited to 'package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff') diff --git a/package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff b/package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff deleted file mode 100644 index 555290674c..0000000000 --- a/package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff +++ /dev/null @@ -1,21 +0,0 @@ -diff -ruN ipsec-tools-0.6.6-old/src/racoon/grabmyaddr.c ipsec-tools-0.6.6-new/src/racoon/grabmyaddr.c ---- ipsec-tools-0.6.6-old/src/racoon/grabmyaddr.c 2005-07-16 06:41:01.000000000 +0200 -+++ ipsec-tools-0.6.6-new/src/racoon/grabmyaddr.c 2006-12-15 15:50:13.000000000 +0100 -@@ -77,10 +77,17 @@ - #ifdef __linux__ - #include - #include -+#include -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) -+# include -+#endif - #ifndef HAVE_GETIFADDRS - #define HAVE_GETIFADDRS - #define NEED_LINUX_GETIFADDRS - #endif -+#ifndef IFA_RTA -+# define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) -+#endif - #endif - - #ifndef HAVE_GETIFADDRS -- cgit v1.2.3