source:
patches/iproute2-3.4.0-libdir-1.patch@
f438d57
Last change on this file since f438d57 was 1463997, checked in by , 12 years ago | |
---|---|
|
|
File size: 1.8 KB |
-
iproute2-3.4.0
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 Rediffed for Iproute2-3.4.0 by William Harrington diff -Naur iproute2-3.4.0.orig/Makefile iproute2-3.4.0/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-3.4.0.orig/include/iptables.h iproute2-3.4.0/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-3.4.0
diff -Naur iproute2-3.4.0.orig/misc/arpd.c iproute2-3.4.0/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.