pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-perl/patches ap2-perl: actually add the patch ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/99db24b800a7
branches: trunk
changeset: 453776:99db24b800a7
user: markd <markd%pkgsrc.org@localhost>
date: Wed Jun 02 22:35:09 2021 +0000
description:
ap2-perl: actually add the patch - thanks wiz
diffstat:
www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c | 16 +++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r 01967ded23e6 -r 99db24b800a7 www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c Wed Jun 02 22:35:09 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_modules_perl_modperl__perl.c,v 1.1 2021/06/02 22:35:09 markd Exp $
+
+Fix build for perl >= 5.33.7
+revision 1889014
+
+--- src/modules/perl/modperl_perl.c.orig 2019-10-05 11:04:42.000000000 +0000
++++ src/modules/perl/modperl_perl.c
+@@ -268,7 +268,7 @@ void modperl_hash_seed_set(pTHX)
+ #ifdef MP_NEED_HASH_SEED_FIXUP
+ if (MP_init_hash_seed_set) {
+ #if MP_PERL_VERSION_AT_LEAST(5, 17, 6)
+- memcpy(&PL_hash_seed, &MP_init_hash_seed,
++ memcpy(PL_hash_seed, &MP_init_hash_seed,
+ sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ?
+ sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed));
+ PL_hash_seed_set = MP_init_hash_seed_set;
Home |
Main Index |
Thread Index |
Old Index