diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-10-31 22:20:04 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-10-31 22:20:04 +0000 |
commit | b1002cf0e36942951c9c3c5dd31b8b828f3b13e4 (patch) | |
tree | e15e03909871e63d6c47f17d7ec39ce9c9824e6f /textproc/p5-PDF-API2 | |
parent | Upgrade to 3.06 => remove BROKEN. (diff) |
fix textproc/p5-PDF-API2 for perl < 5.6
- remove warnings.pm to fix runtime on perl < 5.6
- bump PORTREVISION
PR: ports/44785
Submitted by: Erwin Lansing <erwin@lansing.dk> (maintainer)
Notes
Notes:
svn path=/head/; revision=69216
Diffstat (limited to 'textproc/p5-PDF-API2')
-rw-r--r-- | textproc/p5-PDF-API2/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-PDF-API2/files/patch-lib::Text::PDF::FileAPI.pm | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/textproc/p5-PDF-API2/Makefile b/textproc/p5-PDF-API2/Makefile index c3e6264d225a..4ee8fb1f745f 100644 --- a/textproc/p5-PDF-API2/Makefile +++ b/textproc/p5-PDF-API2/Makefile @@ -8,6 +8,7 @@ PORTNAME= PDF-API2 PORTVERSION= 0.2.3.8 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Text diff --git a/textproc/p5-PDF-API2/files/patch-lib::Text::PDF::FileAPI.pm b/textproc/p5-PDF-API2/files/patch-lib::Text::PDF::FileAPI.pm new file mode 100644 index 000000000000..176c6edbe126 --- /dev/null +++ b/textproc/p5-PDF-API2/files/patch-lib::Text::PDF::FileAPI.pm @@ -0,0 +1,10 @@ ++--- lib/Text/PDF/FileAPI.pm.orig Thu Oct 31 15:46:58 2002 +++++ lib/Text/PDF/FileAPI.pm Thu Oct 31 15:47:06 2002 ++@@ -3,7 +3,6 @@ ++ use strict; ++ no strict "refs"; ++ use vars qw($cr %types $VERSION @ISA); ++-no warnings qw(uninitialized); ++ ++ use IO::File; ++ |