Add a patch to work around on 4-stable (perl-5.00503's Fcntl.pm does

not export SEEK_SET symbol).

Doing "make test" on 4-stable will fail because perl-5.005 does not
support EOF method in TIE HANDLE.

Submitted by:	lth
This commit is contained in:
Jun Kuriyama 2005-02-13 03:37:26 +00:00
parent ece7c26384
commit 1e04edb8d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128666
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= IO-Zlib
PORTVERSION= 1.04
PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/T/TO/TOMHUGHES

View file

@ -0,0 +1,11 @@
--- Zlib.pm.orig Sun Feb 13 00:43:08 2005
+++ Zlib.pm Sun Feb 13 00:43:30 2005
@@ -297,7 +297,7 @@
use vars qw($VERSION $AUTOLOAD @ISA);
use Carp;
-use Fcntl qw(SEEK_SET);
+use constant SEEK_SET => 0;
my $has_Compress_Zlib;
my $aliased;