]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - iproute2/patches/iproute2-sharepath.patch
Merge remote-tracking branch 'arne_f/autoconf'
[people/arne_f/ipfire-3.x.git] / iproute2 / patches / iproute2-sharepath.patch
1 diff -up iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c.movelib iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c
2 --- iproute2-2.6.29/tc/tc_util.c.movelib 2009-01-15 21:25:04.000000000 +0100
3 +++ iproute2-2.6.29/tc/tc_util.c 2009-02-04 08:58:36.000000000 +0100
4 @@ -24,8 +24,8 @@
5 #include "utils.h"
6 #include "tc_util.h"
7
8 -#ifndef LIBDIR
9 -#define LIBDIR "/usr/lib/"
10 +#ifndef SHAREDIR
11 +#define SHAREDIR "/usr/share/"
12 #endif
13
14 const char *get_tc_lib(void)
15 @@ -34,7 +34,7 @@ const char *get_tc_lib(void)
16
17 lib_dir = getenv("TC_LIB_DIR");
18 if (!lib_dir)
19 - lib_dir = LIBDIR "/tc/";
20 + lib_dir = SHAREDIR "/tc/";
21
22 return lib_dir;
23 }