[FFmpeg-devel] [PATCH] doc/texi2pod: use env program to detect location of perl interpreter program
Stefano Sabatini
stefasab at gmail.com
Mon Aug 13 00:08:54 CEST 2012
On date Sunday 2012-08-12 14:38:20 +0200, Michael Niedermayer encoded:
> On Sun, Aug 12, 2012 at 10:41:21AM +0200, Stefano Sabatini wrote:
> > On date Saturday 2012-08-11 05:27:33 -0300, jamal encoded:
> > > On 10/08/12 6:19 PM, Stefano Sabatini wrote:
> > > > I'll drop this patch, since on "normal" systems it won't fix any
> > > > problem (assuming perl is in the standard place) and on "weird" system
> > > > it won't fix the problem anyway (since we can't predict where env is
> > > > located).
> > > >
> > > You could add the "use warnings" line anyway, even if you leave the shebang line untouched.
> > > Or add -w to the line in doc/Makefile.
> >
> > Indeed, see attached.
> > --
> > FFmpeg = Foolish and Fast Minimalistic Pitiless Evil Gorilla
>
> > texi2pod.pl | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> > 732f5ed4f888d394cb0cdf76e3ab30d9926e5ae1 0011-doc-texi2pod-add-use-warnings-directive.patch
> > From 93c4846f12fa5d46896c88ad133449bdcfd2d7e1 Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefasab at gmail.com>
> > Date: Sun, 12 Aug 2012 10:35:03 +0200
> > Subject: [PATCH] doc/texi2pod: add "use warnings" directive
> >
> > The script was previously run with perl -w through the shebang
> > command. Now that the script is executed through direct perl invocation
> > the -w in the shebang command is ignored. This patch re-enables "use
> > warnings" whatever way the script is invoked.
> >
> > Idea-By: jamal <jamrial at gmail.com>
>
> should be ok
Applied.
--
FFmpeg = Forgiving & Faithful Moronic Perfectionist Extreme Guide
More information about the ffmpeg-devel
mailing list