source: trunk/tools/quilt/patches/100-patch_2.6.1_version.patch @ 22397

Last change on this file since 22397 was 22397, checked in by acoul, 6 years ago

tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)

File size: 374 bytes
  • configure.ac

    a b fi 
    274274AC_MSG_CHECKING([the version of $PATCH]) 
    275275if $PATCH --version 2> /dev/null | grep GNU >/dev/null; then 
    276276  set -- `$PATCH --version 2> /dev/null` 
    277   patch_version=$2 
     277  test $2 == "patch" && patch_version=$3 || patch_version=$2 
    278278  AC_MSG_RESULT($patch_version) 
    279279  saved_IFS=$IFS; IFS='.' 
    280280  set -- $patch_version 
Note: See TracBrowser for help on using the repository browser.