www/p5-libapreq2: update 2.16 -> 2.17, fix build on i386

- inspired by PR#281594
This commit is contained in:
Kurt Jaeger 2024-12-29 12:10:49 +01:00
parent 3c946a45d3
commit 9ddc851ff3
3 changed files with 24 additions and 4 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= libapreq2
PORTVERSION= 2.16
PORTVERSION= 2.17
CATEGORIES= www perl5 devel
MASTER_SITES= APACHE_HTTPD/libapreq
DISTFILE= libapreq2-${PORTVERSION}

View file

@ -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

View file

@ -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);