tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
[openwrt.git] / tools / quilt / patches / 100-patch_2.6.1_version.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -274,7 +274,7 @@ fi
4 AC_MSG_CHECKING([the version of $PATCH])
5 if $PATCH --version 2> /dev/null | grep GNU >/dev/null; then
6 set -- `$PATCH --version 2> /dev/null`
7 - patch_version=$2
8 + test $2 == "patch" && patch_version=$3 || patch_version=$2
9 AC_MSG_RESULT($patch_version)
10 saved_IFS=$IFS; IFS='.'
11 set -- $patch_version
This page took 0.044135 seconds and 5 git commands to generate.