git: 9ddc851ff396 - main - www/p5-libapreq2: update 2.16 -> 2.17, fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Dec 2024 11:12:10 UTC
The branch main has been updated by pi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9ddc851ff396e8bed97b3d81d5303190bada3ca4
commit 9ddc851ff396e8bed97b3d81d5303190bada3ca4
Author: Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-12-29 11:10:49 +0000
Commit: Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-12-29 11:10:49 +0000
www/p5-libapreq2: update 2.16 -> 2.17, fix build on i386
- inspired by PR#281594
---
www/p5-libapreq2/Makefile | 2 +-
www/p5-libapreq2/distinfo | 6 +++---
.../patch-glue_perl_xsbuilder_apreq__xs__tables.h | 20 ++++++++++++++++++++
3 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/www/p5-libapreq2/Makefile b/www/p5-libapreq2/Makefile
index a42ef217d386..be69f492296e 100644
--- a/www/p5-libapreq2/Makefile
+++ b/www/p5-libapreq2/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libapreq2
-PORTVERSION= 2.16
+PORTVERSION= 2.17
CATEGORIES= www perl5 devel
MASTER_SITES= APACHE_HTTPD/libapreq
DISTFILE= libapreq2-${PORTVERSION}
diff --git a/www/p5-libapreq2/distinfo b/www/p5-libapreq2/distinfo
index cf3b7af57d95..91c9231e7a9c 100644
--- a/www/p5-libapreq2/distinfo
+++ b/www/p5-libapreq2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616240707
-SHA256 (libapreq2-2.16.tar.gz) = e04c855a3ea070b8863569fbae02fe828f534ac88755b23e24d3863cc9598349
-SIZE (libapreq2-2.16.tar.gz) = 839264
+TIMESTAMP = 1735469578
+SHA256 (libapreq2-2.17.tar.gz) = 046487f084c12fa1c822affc5f7de56efed9b48905a426e631a6b949c114d86c
+SIZE (libapreq2-2.17.tar.gz) = 849867
diff --git a/www/p5-libapreq2/files/patch-glue_perl_xsbuilder_apreq__xs__tables.h b/www/p5-libapreq2/files/patch-glue_perl_xsbuilder_apreq__xs__tables.h
new file mode 100644
index 000000000000..a45af6346f13
--- /dev/null
+++ b/www/p5-libapreq2/files/patch-glue_perl_xsbuilder_apreq__xs__tables.h
@@ -0,0 +1,20 @@
+--- glue/perl/xsbuilder/apreq_xs_tables.h.orig 2022-08-18 09:18:20 UTC
++++ glue/perl/xsbuilder/apreq_xs_tables.h
+@@ -42,7 +42,7 @@ static int apreq_xs_cookie_table_magic_copy(pTHX_ SV *
+ */
+
+ static int apreq_xs_cookie_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv,
+- const char *name, int namelen)
++ const char *name, I32 namelen)
+ {
+ /* Prefetch the value whenever the table iterator is > 0 */
+ MAGIC *tie_magic = mg_find(nsv, PERL_MAGIC_tiedelem);
+@@ -151,7 +151,7 @@ static int apreq_xs_param_table_magic_copy(pTHX_ SV *s
+ */
+
+ static int apreq_xs_param_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv,
+- const char *name, int namelen)
++ const char *name, I32 namelen)
+ {
+ /* Prefetch the value whenever the table iterator is > 0 */
+ MAGIC *tie_magic = mg_find(nsv, PERL_MAGIC_tiedelem);