On Friday 24 February 2012 12:27:37 am Raphaël Hertzog wrote:
> POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working
> non-interactively which is not the case in POSIX mode.
> 
> Bug-Debian: http://bugs.debian.org/462578
> Reported-by: Brian M. Carlson <[email protected]>
> Signed-off-by: Raphaël Hertzog <[email protected]>
> ---
>  Makefile.in  |    1 +
>  bin/quilt.in |    4 ++++
>  2 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile.in b/Makefile.in
> index 6912bca..f06c0ee 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -398,6 +398,7 @@ test/.%.ok : test/%.test
>  endif
>       @LANG=C; LC_ALL=C;                                              \
>       export LANG LC_ALL;                                             \
> +     unset POSIXLY_CORRECT;                                          \
>       $(CHECK_ENV);                                                   \
>       cd $(@D);                                                       \
>       ./run -q $(<F)
> diff --git a/bin/quilt.in b/bin/quilt.in
> index 30df4dc..c7fcf8e 100644
> --- a/bin/quilt.in
> +++ b/bin/quilt.in
> @@ -6,6 +6,10 @@
>  #
>  #  See the COPYING and AUTHORS files for more details.
> 
> +# unset posix strict conformance variable since patch cannot be run
> +# non-interactively when it's set.
> +unset POSIXLY_CORRECT
> +
>  export TEXTDOMAIN=quilt
>  export TEXTDOMAINDIR=@LOCALEDIR@
> 

Applied, thanks.

-- 
Jean Delvare
Suse L3

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to