source:
patches/iproute2-4.1.1-libdir-1.patch@
d4f9e43
Last change on this file since d4f9e43 was a560459, checked in by , 9 years ago | |
---|---|
|
|
File size: 2.0 KB |
-
iproute2-4.1.1
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 16-09-2015 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 Rediffed for Iproute2-3.8.0 by William Harrington Renamed for Iproute2-3.12.0 by William Harrington Renamed for Iproute2-3.14.0 by William Harrington Rediffed for Iproute2-4.1.1 by William Harrington diff -Naur iproute2-4.1.1.orig/Makefile iproute2-4.1.1/Makefile
old new 13 13 14 14 SHARED_LIBS = y 15 15 16 DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" 16 DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DARPDDIR=\"$(ARPDDIR)\" 17 17 ifneq ($(SHARED_LIBS),y) 18 18 DEFINES+= -DNO_SHARED_LIBS 19 19 endif -
include/iptables.h
diff -Naur iproute2-4.1.1.orig/include/iptables.h iproute2-4.1.1/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-4.1.1
diff -Naur iproute2-4.1.1.orig/misc/arpd.c iproute2-4.1.1/misc/arpd.c
old new 41 41 int resolve_hosts; 42 42 43 43 DB *dbase; 44 char *dbname = "/var/lib/arpd/arpd.db";44 char *dbname = ARPDDIR "/arpd.db"; 45 45 46 46 int ifnum; 47 47 int *ifvec;
Note:
See TracBrowser
for help on using the repository browser.