]> git.pld-linux.org Git - packages/ettercap.git/blame - ettercap-kernel_version.patch
- updated to 0.6.2
[packages/ettercap.git] / ettercap-kernel_version.patch
CommitLineData
77057077 1diff -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 @@
3bcaa2bb 5 AC_DEFUN(EC_LINUX_KERNEL,[
6
77057077 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-])
3bcaa2bb 22\ No newline at end of file
77057077 23+])
This page took 0.494485 seconds and 4 git commands to generate.