Index: patches/iproute2-2.6.37-libdir-1.patch
===================================================================
--- patches/iproute2-2.6.37-libdir-1.patch	(revision 4c51b38c96efa22c9cc76b11f7993144bff0a5d5)
+++ 	(revision )
@@ -1,51 +1,0 @@
-Submitted By: Joe Ciccone <jciccone@gmail.com>
-Date: 2010-08-02
-Initial Package Version: 2.6.18
-Upstream Status: Unknown
-Origin: Joe Ciccone
-Description: This patch gives the ability to change the libdir.
-             Updated for Iproute2-2.6.28 by Jim Gifford
-             Updated for Iproute2-2.6.34 by Joe Ciccone
-             Updated for Iproute2-2.6.37 by Joe Ciccone
-
-diff -Naur iproute2-2.6.37.orig/Makefile iproute2-2.6.37/Makefile
---- iproute2-2.6.37.orig/Makefile	2011-01-07 12:54:30.000000000 -0500
-+++ iproute2-2.6.37/Makefile	2011-01-08 19:22:59.954895722 -0500
-@@ -12,7 +12,7 @@
- 
- SHARED_LIBS = y
- 
--DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
-+DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DARPDDIR=\"$(ARPDDIR)\"
- ifneq ($(SHARED_LIBS),y)
- DEFINES+= -DNO_SHARED_LIBS
- endif
-diff -Naur iproute2-2.6.37.orig/include/iptables.h iproute2-2.6.37/include/iptables.h
---- iproute2-2.6.37.orig/include/iptables.h	2011-01-07 12:54:30.000000000 -0500
-+++ iproute2-2.6.37/include/iptables.h	2011-01-08 19:22:59.954895722 -0500
-@@ -4,8 +4,12 @@
- #include "iptables_common.h"
- #include "libiptc/libiptc.h"
- 
-+#ifndef LIBDIR
-+#define LIBDIR "/usr/lib"
-+#endif
-+
- #ifndef IPT_LIB_DIR
--#define IPT_LIB_DIR "/usr/local/lib/iptables"
-+#define IPT_LIB_DIR LIBDIR "/iptables"
- #endif
- 
- #ifndef IPPROTO_SCTP
-diff -Naur iproute2-2.6.37.orig/misc/arpd.c iproute2-2.6.37/misc/arpd.c
---- iproute2-2.6.37.orig/misc/arpd.c	2011-01-07 12:54:30.000000000 -0500
-+++ iproute2-2.6.37/misc/arpd.c	2011-01-08 19:22:59.954895722 -0500
-@@ -40,7 +40,7 @@
- int resolve_hosts;
- 
- DB	*dbase;
--char	*dbname = "/var/lib/arpd/arpd.db";
-+char	*dbname = ARPDDIR "/arpd.db";
- 
- int	ifnum;
- int	*ifvec;
Index: patches/iproute2-2.6.38-libdir-1.patch
===================================================================
--- patches/iproute2-2.6.38-libdir-1.patch	(revision 94909a8cbb737ee7631bcb1a961af02f203b6656)
+++ patches/iproute2-2.6.38-libdir-1.patch	(revision 94909a8cbb737ee7631bcb1a961af02f203b6656)
@@ -0,0 +1,52 @@
+Submitted By: Joe Ciccone <jciccone@gmail.com>
+Date: 14-06-2010
+Initial Package Version: 2.6.18
+Upstream Status: Unknown
+Origin: Joe Ciccone
+Description: This patch gives the ability to change the libdir.
+             Updated for Iproute2-2.6.28 by Jim Gifford
+             Updated for Iproute2-2.6.34 by Joe Ciccone
+             Updated for Iproute2-2.6.37 by Joe Ciccone
+             Renamed for Iproute2-2.6.38 by Jonathan Norman
+
+diff -Naur iproute2-2.6.37.orig/Makefile iproute2-2.6.37/Makefile
+--- iproute2-2.6.37.orig/Makefile	2011-01-07 12:54:30.000000000 -0500
++++ iproute2-2.6.37/Makefile	2011-01-08 19:22:59.954895722 -0500
+@@ -12,7 +12,7 @@
+ 
+ SHARED_LIBS = y
+ 
+-DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
++DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DARPDDIR=\"$(ARPDDIR)\"
+ ifneq ($(SHARED_LIBS),y)
+ DEFINES+= -DNO_SHARED_LIBS
+ endif
+diff -Naur iproute2-2.6.37.orig/include/iptables.h iproute2-2.6.37/include/iptables.h
+--- iproute2-2.6.37.orig/include/iptables.h	2011-01-07 12:54:30.000000000 -0500
++++ iproute2-2.6.37/include/iptables.h	2011-01-08 19:22:59.954895722 -0500
+@@ -4,8 +4,12 @@
+ #include "iptables_common.h"
+ #include "libiptc/libiptc.h"
+ 
++#ifndef LIBDIR
++#define LIBDIR "/usr/lib"
++#endif
++
+ #ifndef IPT_LIB_DIR
+-#define IPT_LIB_DIR "/usr/local/lib/iptables"
++#define IPT_LIB_DIR LIBDIR "/iptables"
+ #endif
+ 
+ #ifndef IPPROTO_SCTP
+diff -Naur iproute2-2.6.37.orig/misc/arpd.c iproute2-2.6.37/misc/arpd.c
+--- iproute2-2.6.37.orig/misc/arpd.c	2011-01-07 12:54:30.000000000 -0500
++++ iproute2-2.6.37/misc/arpd.c	2011-01-08 19:22:59.954895722 -0500
+@@ -40,7 +40,7 @@
+ int resolve_hosts;
+ 
+ DB	*dbase;
+-char	*dbname = "/var/lib/arpd/arpd.db";
++char	*dbname = ARPDDIR "/arpd.db";
+ 
+ int	ifnum;
+ int	*ifvec;
