]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/ipset-6.26_fix_kernel_dir_path.patch
ipset: New package
[ipfire-2.x.git] / src / patches / ipset-6.26_fix_kernel_dir_path.patch
1 --- ipset-6.26_orig/configure 2015-10-11 06:57:32.659295626 +0000
2 +++ ipset-6.26/configure 2015-10-11 06:58:21.935695339 +0000
3 @@ -13079,7 +13079,7 @@
4 then
5 kbuilddir="$KBUILDDIR"
6 else
7 - kbuilddir="/lib/modules/`uname -r`/build"
8 + kbuilddir="/lib/modules/`uname -r`-ipfire/build"
9 fi
10
11 if test -n "$KSOURCEDIR"; then
12 @@ -13087,7 +13087,7 @@
13 elif test -e "$kbuilddir/include/linux/netfilter/nfnetlink.h"; then
14 ksourcedir="$kbuilddir"
15 else
16 - ksourcedir="/lib/modules/$(uname -r)/source"
17 + ksourcedir="/lib/modules/$(uname -r)-ipfire/source"
18 fi
19 if test ! -e "$ksourcedir/include/linux/netfilter/nfnetlink.h"
20 then