002-fix-kernel-version-detection.patch 433 B

1234567891011
  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -44,7 +44,7 @@ regular_CFLAGS="-Wall -Waggregate-return
  4. if test -n "$kbuilddir"; then
  5. AC_MSG_CHECKING([kernel version that we will build against])
  6. - krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"
  7. + krel="$(make -sC "$kbuilddir" M=$PWD kernelversion | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"
  8. save_IFS="$IFS"
  9. IFS='.'
  10. set x $krel