diff options
author | edwin <edwin@FreeBSD.org> | 2002-10-31 22:20:04 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-10-31 22:20:04 +0000 |
commit | 09c69a0aeb15cd8f15a8b131d70a25aeff79f349 (patch) | |
tree | c2ee3bf5412a7c451d06cdb7edae8b2b93df598b /textproc/p5-PDF-API2 | |
parent | 4d0b418f1aca42725aac04ddc1d339087d6ae1cf (diff) | |
download | FreeBSD-ports-09c69a0aeb15cd8f15a8b131d70a25aeff79f349.zip FreeBSD-ports-09c69a0aeb15cd8f15a8b131d70a25aeff79f349.tar.gz |
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)
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 c3e6264..4ee8fb1 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 0000000..176c6ed --- /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; ++ |