source:
patches/iproute2-2.6.34-libdir-1.patch@
4ff3f92
Last change on this file since 4ff3f92 was 7c59b60, checked in by , 14 years ago | |
---|---|
|
|
File size: 2.1 KB |
-
iproute2-2.6.34
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.24 by Joe Ciccone diff -Naur iproute2-2.6.34.orig/Makefile iproute2-2.6.34/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.34.orig/include/iptables.h iproute2-2.6.34/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.34
diff -Naur iproute2-2.6.34.orig/misc/arpd.c iproute2-2.6.34/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; -
netem/Makefile
diff -Naur iproute2-2.6.34.orig/netem/Makefile iproute2-2.6.34/netem/Makefile
old new 20 20 $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm 21 21 22 22 install: all 23 mkdir -p $(DESTDIR) /lib/tc23 mkdir -p $(DESTDIR)$(LIBDIR)/tc 24 24 for i in $(DISTDATA); \ 25 do install -m 755 $$i $(DESTDIR) /lib/tc; \25 do install -m 755 $$i $(DESTDIR)$(LIBDIR)/tc; \ 26 26 done 27 27 28 28 clean:
Note:
See TracBrowser
for help on using the repository browser.