]> git.pld-linux.org Git - packages/ettercap.git/blob - ettercap-kernel_version.patch
- updated to 0.6.2
[packages/ettercap.git] / ettercap-kernel_version.patch
1 diff -ur ettercap-0.6.2/aclocal.m4 ettercap-0.6.2.new/aclocal.m4
2 --- ettercap-0.6.2/aclocal.m4   Thu Sep 20 23:48:01 2001
3 +++ ettercap-0.6.2.new/aclocal.m4       Sat Nov 17 10:51:18 2001
4 @@ -25,9 +25,9 @@
5  AC_DEFUN(EC_LINUX_KERNEL,[
6  
7     AC_MSG_CHECKING(Linux kernel version)
8 -   major=`uname -r  | cut -f1 -d"."`
9 -   minor=`uname -r  | cut -f2 -d"."`
10 -   uname=`uname -r`
11 +   major=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"\"" | cut -f1 -d"."`
12 +   minor=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"."`
13 +   uname=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"\""`
14     AC_MSG_RESULT($uname)
15     if test "$major$minor" -lt 20; then
16        AC_MSG_WARN(*******************************);
17 @@ -308,4 +308,4 @@
18                 ]
19         )
20  
21 -])
22 \ No newline at end of file
23 +])
This page took 0.023156 seconds and 3 git commands to generate.