Hello, I was wondering about the status of the patch submitted by Reini Urban in http://lists.gnu.org/archive/html/quilt-dev/2008-12/msg00007.html. I ran into the same problem when running "make check" with perl-5.10. I also noticed that a similar patch is needed in edmail.in for a later test.
I have attached a format-patch that fixes this issue. It is tested with perl-5.10 and perl-5.8. Please note that I have absolutely no experience with perl and that a better solution may exist. -- Michael Forney <[email protected]>
From ebec4d5e4f5f93f62f0f5219119a94fa4a7b1a11 Mon Sep 17 00:00:00 2001 From: Reini Urban <[email protected]> Date: Wed, 4 Nov 2009 13:38:05 -0800 Subject: [PATCH] Fix prototype mismatch error Signed-off-by: Michael Forney <[email protected]> --- quilt/scripts/edmail.in | 2 +- quilt/scripts/remove-trailing-ws.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quilt/scripts/edmail.in b/quilt/scripts/edmail.in index 8c87218..abe4589 100644 --- a/quilt/scripts/edmail.in +++ b/quilt/scripts/edmail.in @@ -16,7 +16,7 @@ BEGIN { if (eval { require Locale::gettext }) { import Locale::gettext; require POSIX; - import POSIX, qw(setlocale); + POSIX->import('setlocale'); } else { eval ' use constant LC_MESSAGES => 0; diff --git a/quilt/scripts/remove-trailing-ws.in b/quilt/scripts/remove-trailing-ws.in index 8179a9a..e715200 100644 --- a/quilt/scripts/remove-trailing-ws.in +++ b/quilt/scripts/remove-trailing-ws.in @@ -18,7 +18,7 @@ BEGIN { if (eval { require Locale::gettext }) { import Locale::gettext; require POSIX; - import POSIX, qw(setlocale); + POSIX->import('setlocale'); } else { eval ' use constant LC_MESSAGES => 0; -- 1.6.5.2
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Quilt-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/quilt-dev
