- now builds,
[packages/ettercap6.git] / ettercap-kernel_version.patch
CommitLineData
449fed60
MM
1diff -uNr ettercap-0.6.3.1.orig/aclocal.m4 ettercap-0.6.3.1/aclocal.m4
2--- ettercap-0.6.3.1.orig/aclocal.m4 Thu Dec 13 18:05:18 2001
3+++ ettercap-0.6.3.1/aclocal.m4 Sun Feb 10 16:32:29 2002
5db63559 4@@ -25,9 +25,9 @@
b2febd25 5 AC_DEFUN(EC_LINUX_KERNEL,[
6
5db63559 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(*******************************);
This page took 0.066641 seconds and 4 git commands to generate.