]> git.sesse.net Git - vlc/commitdiff
Backport [13167]
authorRémi Denis-Courmont <rem@videolan.org>
Wed, 9 Nov 2005 12:05:09 +0000 (12:05 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Wed, 9 Nov 2005 12:05:09 +0000 (12:05 +0000)
HACKING
vlc-api.pl

diff --git a/HACKING b/HACKING
index 53dfc7b6e728e7a29ec791a137856b48ec317ce8..6d102918e5c1d8c67a186d117ed350790c669ad7 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -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.
index 8b22ff437652da8d57ffeb87c0016d328607dbbf..1c963a6ad2147a91d6b141c2d725d90cbee8b20d 100755 (executable)
@@ -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>)
 {