p5-http-xsheaders: update to version 1.000001, dependencies

Drop outdated patch now incorporated upstream.
This commit is contained in:
David B. Evans
2026-06-04 23:42:34 -07:00
parent 928e0e4fe8
commit 6a7a37f6bd
2 changed files with 8 additions and 19 deletions
+8 -6
View File
@@ -4,22 +4,24 @@ PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.28 5.30 5.32 5.34
perl5.setup HTTP-XSHeaders 0.500000 ../../authors/id/X/XS/XSAWYERX
perl5.setup HTTP-XSHeaders 1.000001 ../../authors/id/X/XS/XSAWYERX
revision 0
license MIT
maintainers {devans @dbevans} openmaintainer
description HTTP::XSHeaders - Fast XS Header library, replacing HTTP::Headers and HTTP::Headers::Fast.
long_description {*}${description}
checksums rmd160 8933828f6a37a681bb70b3da7032f4746d76f7ad \
sha256 0663d911ac9c9836a03b28191484e4bc1e42d6afb4b8d0931e8f7ca691746257 \
size 70720
checksums rmd160 575de7039c8b17253066636f8d12af7cdf0ba551 \
sha256 0e56d6cd915884514954bec5e0ed9fba15d7824f91d547fff9e1ba4c2521596a \
size 72541
if {${perl5.major} != ""} {
depends_build-append \
port:p${perl5.major}-http-headers-fast \
port:p${perl5.major}-http-message
depends_lib-append \
port:p${perl5.major}-http-date
patchfiles patch-cstd-99.diff
compiler.c_standard 1999
}
@@ -1,13 +0,0 @@
diff --git Makefile.PL.old Makefile.PL
index 37eca8e..02d4a34 100644
--- Makefile.PL.old
+++ Makefile.PL
@@ -45,7 +45,7 @@ sub cflags {
my @cflags = split /\n/, $cflags;
$self->{CCFLAGS} .= ' -Wall'; # Flag all warnings
- $self->{CCFLAGS} .= ' -std=c89'; # Compile according to C99 standard
+ $self->{CCFLAGS} .= ' -std=c99'; # Compile according to C99 standard
foreach (@cflags) {
$_ = "CCFLAGS = $self->{CCFLAGS}" if /^CCFLAGS/;