[FFmpeg-devel] [PATCH] doc/texi2pod: use env program to detect location of perl interpreter program

Michael Niedermayer michaelni at gmx.at
Sun Aug 12 14:38:20 CEST 2012


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120812/9d5caee0/attachment.asc>


More information about the ffmpeg-devel mailing list