From 09c69a0aeb15cd8f15a8b131d70a25aeff79f349 Mon Sep 17 00:00:00 2001 From: edwin Date: Thu, 31 Oct 2002 22:20:04 +0000 Subject: 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 (maintainer) --- textproc/p5-PDF-API2/Makefile | 1 + textproc/p5-PDF-API2/files/patch-lib::Text::PDF::FileAPI.pm | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 textproc/p5-PDF-API2/files/patch-lib::Text::PDF::FileAPI.pm (limited to 'textproc/p5-PDF-API2') 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; ++ -- cgit v1.1