source:
patches/iproute2-2.6.38-libdir-1.patch@
bcb91ad
Last change on this file since bcb91ad was 94909a8, checked in by , 13 years ago | |
---|---|
|
|
File size: 1.7 KB |
-
iproute2-2.6.37
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
old new 12 12 13 13 SHARED_LIBS = y 14 14 15 DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" 15 DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DARPDDIR=\"$(ARPDDIR)\" 16 16 ifneq ($(SHARED_LIBS),y) 17 17 DEFINES+= -DNO_SHARED_LIBS 18 18 endif -
include/iptables.h
diff -Naur iproute2-2.6.37.orig/include/iptables.h iproute2-2.6.37/include/iptables.h
old new 4 4 #include "iptables_common.h" 5 5 #include "libiptc/libiptc.h" 6 6 7 #ifndef LIBDIR 8 #define LIBDIR "/usr/lib" 9 #endif 10 7 11 #ifndef IPT_LIB_DIR 8 #define IPT_LIB_DIR "/usr/local/lib/iptables"12 #define IPT_LIB_DIR LIBDIR "/iptables" 9 13 #endif 10 14 11 15 #ifndef IPPROTO_SCTP -
iproute2-2.6.37
diff -Naur iproute2-2.6.37.orig/misc/arpd.c iproute2-2.6.37/misc/arpd.c
old new 40 40 int resolve_hosts; 41 41 42 42 DB *dbase; 43 char *dbname = "/var/lib/arpd/arpd.db";43 char *dbname = ARPDDIR "/arpd.db"; 44 44 45 45 int ifnum; 46 46 int *ifvec;
Note:
See TracBrowser
for help on using the repository browser.