quilt/fix-patch-version-detection.patch

14 lines
526 B
Diff

Index: quilt-0.48/configure.ac
===================================================================
--- quilt-0.48.orig/configure.ac 2009-01-31 03:28:06.000000000 +0100
+++ quilt-0.48/configure.ac 2010-05-19 11:59:38.000000000 +0200
@@ -274,7 +274,7 @@ fi
AC_MSG_CHECKING([the version of $PATCH])
if $PATCH --version 2> /dev/null | grep GNU >/dev/null; then
set -- `$PATCH --version 2> /dev/null`
- patch_version=$2
+ patch_version=$3
AC_MSG_RESULT($patch_version)
saved_IFS=$IFS; IFS='.'
set -- $patch_version