Skip to content

Commit

Permalink
textproc/p5-XML-Parser: Update to 2.47
Browse files Browse the repository at this point in the history
- Update LICENSE
- Add LICENSE_FILE

Changes:	https://metacpan.org/dist/XML-Parser/changes
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 7428403 commit 561c3d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 24 deletions.
6 changes: 3 additions & 3 deletions textproc/p5-XML-Parser/Makefile
@@ -1,5 +1,5 @@
PORTNAME= XML-Parser
PORTVERSION= 2.46
PORTVERSION= 2.47
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
Expand All @@ -8,8 +8,8 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension interface to James Clark's XML parser, expat
WWW= https://metacpan.org/release/XML-Parser

LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libexpat.so:textproc/expat2

Expand Down
6 changes: 3 additions & 3 deletions textproc/p5-XML-Parser/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1656093028
SHA256 (XML-Parser-2.46.tar.gz) = d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d
SIZE (XML-Parser-2.46.tar.gz) = 254763
TIMESTAMP = 1708450716
SHA256 (XML-Parser-2.47.tar.gz) = ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8
SIZE (XML-Parser-2.47.tar.gz) = 279029
27 changes: 9 additions & 18 deletions textproc/p5-XML-Parser/files/patch-inc-Devel-CheckLib.pm
@@ -1,20 +1,11 @@
--- inc/Devel/CheckLib.pm.orig 2016-04-13 04:38:16 UTC
--- inc/Devel/CheckLib.pm.orig 2023-12-28 19:47:02 UTC
+++ inc/Devel/CheckLib.pm
@@ -227,7 +227,7 @@ sub assert_lib {
# first figure out which headers we can't find ...
for my $header (@headers) {
push @use_headers, $header;
- my ( $ch, $cfile ) = File::Temp::tempfile( 'assertlibXXXXXXXX', SUFFIX => '.c' );
+ my ( $ch, $cfile ) = File::Temp::tempfile( 'assertlibXXXXXXXX', SUFFIX => '.c', TMPDIR => 1 );
my $ofile = $cfile;
$ofile =~ s/\.c$/$Config{_o}/;
print $ch qq{#include <$_>\n} for @use_headers;
@@ -275,7 +275,7 @@ sub assert_lib {
@@ -315,7 +315,7 @@ sub _make_cfile {
warn "# Code:\n$c\n";
}

# now do each library in turn with headers
- my ( $ch, $cfile ) = File::Temp::tempfile( 'assertlibXXXXXXXX', SUFFIX => '.c' );
+ my ( $ch, $cfile ) = File::Temp::tempfile( 'assertlibXXXXXXXX', SUFFIX => '.c', TMPDIR => 1 );
my $ofile = $cfile;
$ofile =~ s/\.c$/$Config{_o}/;
print $ch qq{#include <$_>\n} foreach (@headers);
my ($ch, $cfile) = File::Temp::tempfile(
- 'assertlibXXXXXXXX', SUFFIX => '.c'
+ 'assertlibXXXXXXXX', SUFFIX => '.c', TMPDIR => 1
);
print $ch $code;
close $ch;

0 comments on commit 561c3d0

Please sign in to comment.