xmltv/lib XMLTV.pm.PL,1.5,1.6

Nick Morrott <[email protected]> Fri, 24 Feb 2017 22:36:00 +0000
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/lib
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7075/lib

Modified Files:
	XMLTV.pm.PL 
Log Message:
Allow building on Perl versions 5.24.1+

Perl versions 5.24.1+ no longer include '.' in @INC. However, we need
access to some libraries included in the XMLTV source at build time so
"use lib '.'" for these specific instances.


Index: XMLTV.pm.PL
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/XMLTV.pm.PL,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** XMLTV.pm.PL	3 Jun 2006 19:26:34 -0000	1.5
--- XMLTV.pm.PL	24 Feb 2017 22:35:58 -0000	1.6
***************
*** 10,14 ****
--- 10,18 ----
  my $out = shift @ARGV; die "no output file given" if not defined $out;
  my $in = 'lib/XMLTV.pm.in';
+ 
+ # Perl 5.24.1+ does not include '.' in @INC but we need some libs during build
+ use lib '.';
  require $in;
+ 
  open(IN_FH, $in) or die "cannot read $in: $!";
  die if not @XMLTV::Channel_Handlers; die if not @XMLTV::Programme_Handlers;


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot