Commit 8d65083c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Support for Perl 5.005 - patch from Daniel Stränger

parent 538d2492
......@@ -22,6 +22,8 @@ You will need the following tools if you plan to use the SVN version of vlc:
- gettext version 0.10.40 (but 0.11.3 or later is recommended)
- perl version 5.005 or later
After retrieving the SVN tree, you need to run the bootstrap script to
generate all the files needed to build vlc. You can then run configure.
Run ./configure --help for a description of the available options.
......
......@@ -22,6 +22,7 @@
#* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
#*****************************************************************************/
use IO::Handle;
use strict;
my $srcdir = $ENV{'top_srcdir'};
......@@ -42,7 +43,8 @@ while (<STDIN>)
#
# Write header's header
#
open my $new_sym, '> vlc_symbols.h.new' or die "$!";
my $new_sym=IO::Handle->new();
open $new_sym, '> vlc_symbols.h.new' or die "$!";
print { $new_sym }
"/*\n".
" * This file is automatically generated. DO NOT EDIT!\n".
......@@ -96,7 +98,8 @@ my @API;
my @deprecated_API;
my $parse = 0;
open my $oldfd, "< $srcdir/include/vlc_symbols.h";
my $oldfd = IO::Handle->new();
open $oldfd, "< $srcdir/include/vlc_symbols.h";
while (<$oldfd>)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment