ramips: ramips_esw: add helper function to set pvid
[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.053606 seconds and 5 git commands to generate.